2025-10-31T08:21:29.886849Z node 17 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7567298110228554564:2078];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:21:29.886931Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-31T08:21:29.978800Z node 18 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7567298108556036317:2088];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:21:30.052068Z 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/7ydd/000f13/r3tmp/tmpWEXvGU/pdisk_1.dat
2025-10-31T08:21:30.057257Z node 17 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-31T08:21:30.079739Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-31T08:21:30.082933Z node 18 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-31T08:21:30.086118Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-31T08:21:30.268156Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-10-31T08:21:30.305068Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-31T08:21:30.333423Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-31T08:21:30.333540Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-31T08:21:30.336526Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-31T08:21:30.336624Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-31T08:21:30.341333Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-31T08:21:30.347426Z node 17 :HIVE WARN: hive_impl.cpp:811: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-31T08:21:30.348754Z node 17 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 13585, node 17
2025-10-31T08:21:30.407065Z node 18 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-31T08:21:30.721028Z 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/7ydd/000f13/r3tmp/yandexeGPHiW.tmp
2025-10-31T08:21:30.721057Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/7ydd/000f13/r3tmp/yandexeGPHiW.tmp
2025-10-31T08:21:30.721236Z node 17 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/7ydd/000f13/r3tmp/yandexeGPHiW.tmp
2025-10-31T08:21:30.721445Z node 17 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-31T08:21:30.788794Z node 17 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-10-31T08:21:30.857017Z INFO: TTestServer started on Port 25354 GrpcPort 13585
2025-10-31T08:21:30.960310Z node 17 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-10-31T08:21:31.054420Z node 18 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
TClient is connected to server localhost:25354
PQClient connected to localhost:13585
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-31T08:21:31.823074Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
waiting...
2025-10-31T08:21:32.047446Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
waiting...
waiting...
waiting...
2025-10-31T08:21:34.887131Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7567298110228554564:2078];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:21:34.887215Z node 17 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-31T08:21:34.975597Z node 18 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7567298108556036317:2088];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:21:34.975689Z 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;
2025-10-31T08:21:37.711275Z node 17 :KQP_PROXY ERROR: kqp_proxy_service.cpp:1316: TraceId: "01k8wnq3457pmx6t405m7q55h4", Request deadline has expired for 0.291330s seconds
2025-10-31T08:21:37.761076Z node 17 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:566: Compilation failed, self: [17:7567298144588294045:2331], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-10-31T08:21:37.764682Z node 17 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=17&id=Yzk3ZTlhMC01YTc4Mjg2LTYzYThiOGM2LTMxZmI0YThi, ActorId: [17:7567298144588294042:2329], ActorState: ExecuteState, TraceId: 01k8wnq89f5myqc8ky8rm697h2, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-31T08:21:37.765143Z node 17 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-31T08:21:37.783580Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715662: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-10-31T08:21:37.961929Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:690)
2025-10-31T08:21:38.162746Z node 18 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:566: Compilation failed, self: [18:7567298147210742394:2307], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:5:17: Error: At function: KiReadTable!
        <main>:5:17: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Versions]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-10-31T08:21:38.166750Z node 18 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=18&id=NGFhYjRkNDMtMWEzZjczOTctOGM0NzEwMTktNTQ3NmI3Yg==, ActorId: [18:7567298147210742392:2306], ActorState: ExecuteState, TraceId: 01k8wnq8p7cb7tejmam4brfpvx, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-31T08:21:38.167234Z node 18 :PERSQUEUE_CLUSTER_TRACKER ERROR: cluster_tracker.cpp:167: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 5 column: 17 } message: "At function: KiReadTable!" end_position { row: 5 column: 17 } severity: 1 issues { position { row: 5 column: 17 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Versions]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 5 column: 17 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-31T08:21:38.266595Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /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-10-31T08:21:38.964317Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715665. Ctx: { TraceId: 01k8wnq91h5nf8ym459v415f7a, Database: , SessionId: ydb://session/3?node_id=17&id=MzYxMTNiM2QtMzliMThmM2QtYWUyNzQyOGUtNjBjYjg1MzY=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7567298148883261800:3051] 
2025-10-31T08:21:45.256463Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7717: Cannot get console configs
2025-10-31T08:21:45.256497Z node 17 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:46.821932Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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:13585
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: 281474976715678
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-31T08:21:46.887151Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:46.887210Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037893] doesn't have tx writes info
2025-10-31T08:21:46.909812Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][] pipe [17:7567298183243000679:3327] connected; active server actors: 1
2025-10-31T08:21:46.920916Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-31T08:21:46.922858Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:969: [72075186224037894][rt3.dc1--topic1] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-10-31T08:21:46.957443Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:46.957504Z node 18 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-31T08:21:46.957606Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037894][rt3.dc1--topic1] BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-10-31T08:21:46.958286Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-10-31T08:21:46.963731Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037894][rt3.dc1--topic1] TEvClientConnected TabletId 72075186224037893, NodeId 17, Generation 1
2025-10-31T08:21:47.009075Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][3][StateInit] bootstrapping 3 [18:7567298181570481138:2387]
2025-10-31T08:21:47.012190Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][9][StateInit] bootstrapping 9 [17:7567298183243000783:2449]
2025-10-31T08:21:47.015496Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037893][Partition][9][StateInit] init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [17:7567298183243000783:2449]
2025-10-31T08:21:47.020448Z node 18 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][3][StateInit] init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [18:7567298181570481138:2387]
2025-10-31T08:21:47.022720Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [18:7567298181570481139:2387]
2025-10-31T08:21:47.025406Z node 18 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][0][StateInit] init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7567298181570481139:2387]
2025-10-31T08:21:47.027364Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][1][StateInit] bootstrapping 1 [18:7567298181570481140:2387]
2025-10-31T08:21:47.022720Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][2][StateInit] bootstrapping 2 [17:7567298183243000784:2449]
2025-10-31T08:21:47.025406Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037893][Partition][2][StateInit] init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [17:7567298183243000784:2449]
2025-10-31T08:21:47.027364Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][5][StateInit] bootstrapping 5 [17:7567298183243000785:2449]
2025-10-31T08:21:47.035187Z node 18 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][1][StateInit] init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [18:7567298181570481140:2387]
2025-10-31T08:21:47.040456Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][6][StateInit] bootstrapping 6 [18:7567298181570481141:2387]
2025-10-31T08:21:47.044546Z node 18 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][6][StateInit] init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [18:7567298181570481141:2387]
2025-10-31T08:21:47.046670Z node 18 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][8][StateInit] bootstrapping 8 [18:7567298181570481142:2387]
2025-10-31T08:21:47.049237Z node 18 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][8][StateInit] init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [18:7567298181570481142:2387]
2025-10-31T08:21:47.052246Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037893][Partition][5][StateInit] init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [17:7567298183243000785:2449]
2025-10-31T08:21:47.061998Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][7][StateInit] bootstrapping 7 [17:7567298183243000786:2449]
2025-10-31T08:21:47.073217Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037893][Partition][7][StateInit] init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [17:7567298183243000786:2449]
2025-10-31T08:21:47.075309Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037893][Partition][4][StateInit] bootstrapping 4 [17:7567298183243000787:2449]
2025-10-31T08:21:47.078868Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037893][Partition][4][StateInit] init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [17:7567298183243000787:2449]
2025-10-31T08:21:47.099964Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:47.113343Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:47.201433Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715679. Ctx: { TraceId: 01k8wnqh967a5ktmjb86hq8hk3, Database: , SessionId: ydb://session/3?node_id=17&id=N2U4MDczZmUtMjU4YWNhMzUtZjQ0NjFhNS1lMjFjMmEx, PoolId: , DatabaseId: /Root}. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715678
    CreateStep: 1761898907020
    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: 9
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715678
    CreateStep: 1761898907020
    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: 9
    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: 8
    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:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:47.273645Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:47.781010Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:48.295994Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-10-31T08:21:48.306745Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:48.306787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-31T08:21:48.307521Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-10-31T08:21:48.307664Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:46582
2025-10-31T08:21:48.307686Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:48.307697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:48.309823Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-31T08:21:48.310011Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:48.310026Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:48.310040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:48.310064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:48.314435Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:48.567363Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935635:2479] connected; active server actors: 1
2025-10-31T08:21:48.566038Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:48.567927Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=12345678
2025-10-31T08:21:48.567961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:48.569215Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935635:2479] disconnected; active server actors: 1
2025-10-31T08:21:48.569254Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935635:2479] disconnected no session
2025-10-31T08:21:48.796990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:48.797045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-31T08:21:48.797075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298191832935577:2479] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:48.797132Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-31T08:21:48.798387Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:48.798710Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 12345678|c6700f03-40983b2b-72da39a8-d873926c_0 generated for partition 7 topic 'rt3.dc1--topic1' owner 12345678
2025-10-31T08:21:48.799302Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 7 MaxSeqNo: 0 sessionId: 12345678|c6700f03-40983b2b-72da39a8-d873926c_0
2025-10-31T08:21:48.800607Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: 12345678|c6700f03-40983b2b-72da39a8-d873926c_0 grpc read done: success: 0 data: 
2025-10-31T08:21:48.800634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: 12345678|c6700f03-40983b2b-72da39a8-d873926c_0 grpc read failed
2025-10-31T08:21:48.800904Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: 12345678|c6700f03-40983b2b-72da39a8-d873926c_0
2025-10-31T08:21:48.800932Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: 12345678|c6700f03-40983b2b-72da39a8-d873926c_0 is DEAD
2025-10-31T08:21:48.801286Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-10-31T08:21:48.803521Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:48.803552Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-31T08:21:48.804230Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-31T08:21:48.804481Z 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]:46582
2025-10-31T08:21:48.804504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:48.804518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:48.806663Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-31T08:21:48.806831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:48.806847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:48.806862Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:48.806885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:48.810986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:48.837995Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935688:2497] connected; active server actors: 1
2025-10-31T08:21:48.836036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:48.838671Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=source
2025-10-31T08:21:48.838701Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:48.839344Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935688:2497] disconnected; active server actors: 1
2025-10-31T08:21:48.839375Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298191832935688:2497] disconnected no session
2025-10-31T08:21:48.861189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:48.861244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-31T08:21:48.861275Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298191832935670:2497] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:48.861317Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:48.864286Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-10-31T08:21:48.863589Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:48.865687Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 8 MaxSeqNo: 0 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1761898908872 sent_at_ms: 1761898908872 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-31T08:21:48.872915Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:48.873279Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:48.878345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:48.930495Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 3 created_at_ms: 1761898908931 sent_at_ms: 1761898908931 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-31T08:21:48.933497Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:48.933843Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:48.934924Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:48.951659Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 4 created_at_ms: 1761898908956 sent_at_ms: 1761898908956 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-31T08:21:48.957046Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:48.957368Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:48.959022Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { 2025-10-31T08:21:49.037817Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
write_request { sequence_numbers: 5 created_at_ms: 1761898909039 sent_at_ms: 1761898909039 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-31T08:21:49.039725Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:49.040023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:49.040778Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:49.050555Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:49.051788Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read done: success: 0 data: 
2025-10-31T08:21:49.051815Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 grpc read failed
2025-10-31T08:21:49.052001Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0
2025-10-31T08:21:49.052025Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: source|388c0b82-cbf8a114-21b6e9b2-83695a45_0 is DEAD
2025-10-31T08:21:49.052461Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
CallPersQueueGRPC request to localhost:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:49.057826Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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:13585
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-31T08:21:49.063500Z node 17 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715689:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_pq.cpp:313)
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715689
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-31T08:21:49.097332Z node 18 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037894][rt3.dc1--topic1] updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-31T08:21:49.139734Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:49.139815Z node 17 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037895] doesn't have tx writes info
2025-10-31T08:21:49.199084Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][11][StateInit] bootstrapping 11 [17:7567298196127903159:2504]
2025-10-31T08:21:49.201992Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037895][Partition][11][StateInit] init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [17:7567298196127903159:2504]
2025-10-31T08:21:49.204343Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][13][StateInit] bootstrapping 13 [17:7567298196127903163:2504]
2025-10-31T08:21:49.207009Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037895][Partition][13][StateInit] init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [17:7567298196127903163:2504]
2025-10-31T08:21:49.208519Z node 18 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:49.209320Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][14][StateInit] bootstrapping 14 [17:7567298196127903164:2504]
2025-10-31T08:21:49.212564Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037895][Partition][14][StateInit] init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [17:7567298196127903164:2504]
2025-10-31T08:21:49.214502Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][12][StateInit] bootstrapping 12 [17:7567298196127903169:2504]
2025-10-31T08:21:49.217330Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037895][Partition][12][StateInit] init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [17:7567298196127903169:2504]
2025-10-31T08:21:49.219258Z node 17 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037895][Partition][10][StateInit] bootstrapping 10 [17:7567298196127903170:2504]
2025-10-31T08:21:49.222137Z node 17 :PERSQUEUE INFO: partition.cpp:696: [72075186224037895][Partition][10][StateInit] init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [17:7567298196127903170:2504]
2025-10-31T08:21:49.242509Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037893] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:49.257736Z node 17 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037895] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:21:49.336832Z node 17 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715690. Ctx: { TraceId: 01k8wnqkev50ansjfr2q8r25n6, Database: , SessionId: ydb://session/3?node_id=17&id=Y2NlNjU0MzEtOTM4ZDQzOGUtNDdjYzI3NzQtN2ZjNTY3Y2U=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
CallPersQueueGRPC request to localhost:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
2025-10-31T08:21:49.389605Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
Alter1 got 1
CallPersQueueGRPC request to localhost:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Version: 0
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
Alter1 got 1
2025-10-31T08:21:49.898179Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: proxy answer <none>
CallPersQueueGRPC request to localhost:13585
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-31T08:21:50.402102Z node 17 :PERSQUEUE INFO: msgbus_server_persqueue.cpp:1531: 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: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715678
    CreateStep: 1761898907020
    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: 9
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715678
    CreateStep: 1761898907020
    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: 9
    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: 8
    PathsLimit: 10000
    ShardsInside: 8
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 1480
        DataSize: 1480
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 15
    PQPartitionsLimit: 1000000
    SchemeLimits {
      MaxDepth: 32
      MaxPaths: 10000
      MaxChildrenInDir: 100000
      MaxAclBytesSize: 10240
      MaxTableColumns: 200
      MaxTableColumnNameLength: 255
      MaxTableKeyColumns: 30
      MaxTableIndices: 20
      MaxShards: 200000
      MaxShardsInPath: 35000
      MaxConsistentCopyTargets: 10000
      MaxPathElementLength: 255
      ExtraPathSymbolsAllowed: "!\"#$%&\'()*+,-.:;<=>?@[\\]^_`{|}~"
      MaxPQPartitions: 1000000
      MaxTableCdcStreams: 5
      MaxExports: 10
      MaxImports: 10
      MaxColumnTableColumns: 10000
    }
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-10-31T08:21:50.419290Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.419322Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-31T08:21:50.420197Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-31T08:21:50.420388Z 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]:46582
2025-10-31T08:21:50.420417Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:50.420431Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.422558Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-31T08:21:50.422726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:50.422750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:50.422763Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:50.422785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:50.427255Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:50.446069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:50.459534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:50.459585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-10-31T08:21:50.459610Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298200422870727:2541] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:50.459650Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:50.462111Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:50.462534Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|2b9af887-62f3102f-ca076110-31a87ee6_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
2025-10-31T08:21:50.463575Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 8 MaxSeqNo: 5 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1761898910464 sent_at_ms: 1761898910464 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-31T08:21:50.465268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.465553Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.466275Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.505608Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 7 created_at_ms: 1761898910508 sent_at_ms: 1761898910508 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-31T08:21:50.508754Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.509064Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.512426Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.523203Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 8 created_at_ms: 1761898910527 sent_at_ms: 1761898910527 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-31T08:21:50.531019Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.531392Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.532637Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.539447Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 9 created_at_ms: 1761898910540 sent_at_ms: 1761898910540 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-31T08:21:50.540935Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.541198Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.541778Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.598082Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.600987Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read done: success: 0 data: 
2025-10-31T08:21:50.601017Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 grpc read failed
2025-10-31T08:21:50.601180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0
2025-10-31T08:21:50.601205Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: source|2b9af887-62f3102f-ca076110-31a87ee6_0 is DEAD
2025-10-31T08:21:50.601643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
2025-10-31T08:21:50.604010Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.604041Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 4
2025-10-31T08:21:50.604577Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-31T08:21:50.604758Z 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]:46582
2025-10-31T08:21:50.604782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:50.604797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.606861Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-31T08:21:50.607031Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:50.607047Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:50.607062Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:50.607085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:50.619781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:50.633289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:50.652971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:50.653025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=0
2025-10-31T08:21:50.653066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298200422870762:2545] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:50.653109Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 4 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:50.654631Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie source|735b90e6-236abae1-d236fa2f-c5587b3b_0 generated for partition 8 topic 'rt3.dc1--topic1' owner source
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1761898910656 created_at_ms: 1761898910656 created_at_ms: 1761898910656 created_at_ms: 1761898910656 created_at_ms: 1761898910656 sent_at_ms: 1761898910656 sent_at_ms: 1761898910656 sent_at_ms: 1761898910656 sent_at_ms: 1761898910656 sent_at_ms: 1761898910656 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-31T08:21:50.654154Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:50.655796Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 4 partition: 8 MaxSeqNo: 9 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0
2025-10-31T08:21:50.657609Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.657995Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.658768Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1761898910667 created_at_ms: 1761898910667 created_at_ms: 1761898910667 created_at_ms: 1761898910667 created_at_ms: 1761898910667 sent_at_ms: 1761898910667 sent_at_ms: 1761898910667 sent_at_ms: 1761898910667 sent_at_ms: 1761898910667 sent_at_ms: 1761898910667 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-31T08:21:50.666831Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.668546Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.668825Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.669467Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { 2025-10-31T08:21:50.682909Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1761898910683 created_at_ms: 1761898910683 created_at_ms: 1761898910683 created_at_ms: 1761898910683 created_at_ms: 1761898910683 sent_at_ms: 1761898910683 sent_at_ms: 1761898910683 sent_at_ms: 1761898910683 sent_at_ms: 1761898910683 sent_at_ms: 1761898910683 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-31T08:21:50.684771Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.685142Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.685904Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.751791Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1761898910753 created_at_ms: 1761898910753 created_at_ms: 1761898910753 created_at_ms: 1761898910753 created_at_ms: 1761898910753 sent_at_ms: 1761898910753 sent_at_ms: 1761898910753 sent_at_ms: 1761898910753 sent_at_ms: 1761898910753 sent_at_ms: 1761898910753 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-31T08:21:50.753919Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:21:50.754279Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-31T08:21:50.765023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.782333Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::IEventHandle
2025-10-31T08:21:50.783714Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:50.783742Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 grpc read failed
2025-10-31T08:21:50.783880Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0
2025-10-31T08:21:50.783921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 4 sessionId: source|735b90e6-236abae1-d236fa2f-c5587b3b_0 is DEAD
2025-10-31T08:21:50.784336Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
1 0 
2025-10-31T08:21:50.786822Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.786850Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 5
2025-10-31T08:21:50.787332Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-31T08:21:50.787504Z 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]:46582
2025-10-31T08:21:50.787525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic2 durationSec=0
2025-10-31T08:21:50.787538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.793405Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-10-31T08:21:50.793760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-10-31T08:21:50.800112Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.800142Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 6
2025-10-31T08:21:50.800804Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-10-31T08:21:50.800964Z 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]:46582
2025-10-31T08:21:50.800991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:50.801009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.804010Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-31T08:21:50.804215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:50.804233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:50.804248Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:50.804271Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-31T08:21:50.810309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-31T08:21:50.823306Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-31T08:21:50.839651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:50.839703Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:50.839727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298200422870813:2552] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-31T08:21:50.839770Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:50.842443Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:50.842886Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|d370e22b-9609758a-51a35166-26793365_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
Init result: { status: SUCCESS init_response { session_id: "sid1|d370e22b-9609758a-51a35166-26793365_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:50.844049Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|d370e22b-9609758a-51a35166-26793365_0
2025-10-31T08:21:50.846936Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.846961Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 7
2025-10-31T08:21:50.847185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 6 sessionId: sid1|d370e22b-9609758a-51a35166-26793365_0 grpc read done: success: 0 data: 
2025-10-31T08:21:50.847202Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 6 sessionId: sid1|d370e22b-9609758a-51a35166-26793365_0 grpc read failed
2025-10-31T08:21:50.847230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 6 sessionId: sid1|d370e22b-9609758a-51a35166-26793365_0 grpc closed
2025-10-31T08:21:50.847255Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 6 sessionId: sid1|d370e22b-9609758a-51a35166-26793365_0 is DEAD
2025-10-31T08:21:50.848152Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:50.852397Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-10-31T08:21:50.852584Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:46582
2025-10-31T08:21:50.852608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:50.852622Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.854768Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-31T08:21:50.854948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:50.854964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:50.854979Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:50.855000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:50.859397Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:50.875380Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:50.897772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:50.897831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-31T08:21:50.897856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298200422870845:2557] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:50.897899Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:50.900708Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:50.904338Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-31T08:21:50.910237Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0
Init result: { status: SUCCESS init_response { session_id: "sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:50.914580Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 7 sessionId: sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0 grpc read done: success: 0 data: 
2025-10-31T08:21:50.914609Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 7 sessionId: sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0 grpc read failed
2025-10-31T08:21:50.914638Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 7 sessionId: sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0 grpc closed
2025-10-31T08:21:50.914670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 7 sessionId: sid1|a824695f-726294a7-fc44cf5d-6fe1aaf6_0 is DEAD
2025-10-31T08:21:50.915560Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:50.915687Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:50.915705Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 8
2025-10-31T08:21:50.916911Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-31T08:21:50.917064Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:46582
2025-10-31T08:21:50.917088Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:50.917100Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:50.919112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-31T08:21:50.919269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:50.919283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:50.919297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:50.919319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:50.923505Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:50.963233Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:50.966944Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298200422870893:2561] connected; active server actors: 1
2025-10-31T08:21:50.976130Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sidx
2025-10-31T08:21:50.976175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:50.980235Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298200422870893:2561] disconnected; active server actors: 1
2025-10-31T08:21:50.980278Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298200422870893:2561] disconnected no session
2025-10-31T08:21:50.993216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:50.993265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-31T08:21:50.993288Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298200422870872:2561] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:50.993325Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 8 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:51.004591Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:51.005731Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
2025-10-31T08:21:51.007481Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 8 partition: 9 MaxSeqNo: 0 sessionId: sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0
Init result: { status: SUCCESS init_response { session_id: "sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.019346Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 8 sessionId: sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.019377Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 8 sessionId: sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0 grpc read failed
2025-10-31T08:21:51.019403Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 8 sessionId: sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0 grpc closed
2025-10-31T08:21:51.019426Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 8 sessionId: sidx|f1793bd0-4e85b4e4-a8f481a8-e21b8081_0 is DEAD
2025-10-31T08:21:51.019928Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.019947Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 9
2025-10-31T08:21:51.020476Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.030011Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-31T08:21:51.030180Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:46582
2025-10-31T08:21:51.030203Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.030218Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.032460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-31T08:21:51.032629Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.032646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.032661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.032682Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.041022Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.067266Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.082460Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.082526Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=0
2025-10-31T08:21:51.082553Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838214:2566] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.082594Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 9 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:51.085012Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:51.085288Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sidx|f0638081-b6d44f17-18abfd7-6d66580d_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sidx
Init result: { status: SUCCESS init_response { session_id: "sidx|f0638081-b6d44f17-18abfd7-6d66580d_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.085855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 9 partition: 9 MaxSeqNo: 0 sessionId: sidx|f0638081-b6d44f17-18abfd7-6d66580d_0
2025-10-31T08:21:51.088762Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 9 sessionId: sidx|f0638081-b6d44f17-18abfd7-6d66580d_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.088789Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 9 sessionId: sidx|f0638081-b6d44f17-18abfd7-6d66580d_0 grpc read failed
2025-10-31T08:21:51.088819Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 9 sessionId: sidx|f0638081-b6d44f17-18abfd7-6d66580d_0 grpc closed
2025-10-31T08:21:51.088843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 9 sessionId: sidx|f0638081-b6d44f17-18abfd7-6d66580d_0 is DEAD
2025-10-31T08:21:51.089738Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.089849Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.089866Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 10
2025-10-31T08:21:51.091048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-10-31T08:21:51.091219Z 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]:46582
2025-10-31T08:21:51.091247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.091260Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.093898Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-31T08:21:51.094069Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.094085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.094100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.094122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838242:2570] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-31T08:21:51.098757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838242:2570] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-31T08:21:51.122491Z node 17 :PQ_PARTITION_CHOOSER INFO: partition_chooser_impl__abstract_chooser_actor.h:312: TPartitionChooser [17:7567298204717838242:2570] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-10-31T08:21:51.122634Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:815: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-10-31T08:21:51.122962Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-10-31T08:21:51.132159Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.132188Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 11
2025-10-31T08:21:51.141915Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-10-31T08:21:51.142091Z 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]:46582
2025-10-31T08:21:51.142113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.142127Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.145453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-31T08:21:51.145616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.145632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.145645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.145669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.154049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.170269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.176076Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838289:2576] connected; active server actors: 1
2025-10-31T08:21:51.180040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_0
2025-10-31T08:21:51.180084Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.184011Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838289:2576] disconnected; active server actors: 1
2025-10-31T08:21:51.184049Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838289:2576] disconnected no session
2025-10-31T08:21:51.201680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.201732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-31T08:21:51.201758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838273:2576] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.201798Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 11 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-31T08:21:51.204375Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:51.204719Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.205375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 11 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0
2025-10-31T08:21:51.209123Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.209156Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 12
2025-10-31T08:21:51.209354Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 11 sessionId: sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.209378Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 11 sessionId: sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0 grpc read failed
2025-10-31T08:21:51.209406Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 11 sessionId: sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0 grpc closed
2025-10-31T08:21:51.209428Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 11 sessionId: sid_rand_0|585b5f8c-4526958c-b9df919-153576e6_0 is DEAD
2025-10-31T08:21:51.210305Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.211609Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-10-31T08:21:51.211757Z 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]:46582
2025-10-31T08:21:51.211778Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.211792Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.213834Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-31T08:21:51.214015Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.214030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.214043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.214064Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.226923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.244053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.246216Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838333:2584] connected; active server actors: 1
2025-10-31T08:21:51.246810Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_1
2025-10-31T08:21:51.246845Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.248091Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838333:2584] disconnected; active server actors: 1
2025-10-31T08:21:51.248142Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838333:2584] disconnected no session
2025-10-31T08:21:51.270955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.271001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-31T08:21:51.271025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838314:2584] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.271064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 12 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-31T08:21:51.273378Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:51.273638Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-31T08:21:51.274147Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 12 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.281077Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 12 sessionId: sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.281113Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 12 sessionId: sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0 grpc read failed
2025-10-31T08:21:51.281146Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 12 sessionId: sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0 grpc closed
2025-10-31T08:21:51.281174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 12 sessionId: sid_rand_1|85f8b8b1-be67a547-8e04e45b-c7fd3cbc_0 is DEAD
2025-10-31T08:21:51.282052Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.282154Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.282171Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 13
2025-10-31T08:21:51.288811Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-10-31T08:21:51.288978Z 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]:46582
2025-10-31T08:21:51.289000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.289014Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.291731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-31T08:21:51.291908Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.291925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.291939Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.291961Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.300528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.314791Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.320972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_2
2025-10-31T08:21:51.321007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.320425Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838364:2588] connected; active server actors: 1
2025-10-31T08:21:51.322297Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838364:2588] disconnected; active server actors: 1
2025-10-31T08:21:51.322331Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838364:2588] disconnected no session
2025-10-31T08:21:51.345574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.345623Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:51.345649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838347:2588] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.345687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 13 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:51.347633Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:51.347864Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_2
2025-10-31T08:21:51.348433Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 13 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.355345Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 13 sessionId: sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.355380Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 13 sessionId: sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0 grpc read failed
2025-10-31T08:21:51.355413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 13 sessionId: sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0 grpc closed
2025-10-31T08:21:51.355436Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 13 sessionId: sid_rand_2|a2949c26-ff06875f-8ddaa38d-353b8f6f_0 is DEAD
2025-10-31T08:21:51.356578Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.356698Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.356715Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 14
2025-10-31T08:21:51.364110Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-10-31T08:21:51.364283Z 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]:46582
2025-10-31T08:21:51.364303Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.364315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.366399Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-31T08:21:51.366578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.366594Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.366608Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.366627Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.371003Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.397738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.407981Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838397:2592] connected; active server actors: 1
2025-10-31T08:21:51.412227Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_3
2025-10-31T08:21:51.412268Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.415992Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838397:2592] disconnected; active server actors: 1
2025-10-31T08:21:51.416030Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838397:2592] disconnected no session
2025-10-31T08:21:51.431744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.431799Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:51.431824Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838378:2592] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.431862Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 14 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-31T08:21:51.447873Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:51.448673Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-10-31T08:21:51.449265Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 14 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.453823Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 14 sessionId: sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.453852Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 14 sessionId: sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0 grpc read failed
2025-10-31T08:21:51.453884Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 14 sessionId: sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0 grpc closed
2025-10-31T08:21:51.453911Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 14 sessionId: sid_rand_3|4017b72b-324f84c0-6ce9c794-da58c376_0 is DEAD
2025-10-31T08:21:51.454781Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.454891Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.454909Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 15
2025-10-31T08:21:51.456530Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-10-31T08:21:51.456670Z 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]:46582
2025-10-31T08:21:51.456689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.456701Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.460818Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-31T08:21:51.460974Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.460990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.461004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.461025Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.473298Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.508065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.520021Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838427:2596] connected; active server actors: 1
2025-10-31T08:21:51.524145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_4
2025-10-31T08:21:51.524186Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.528153Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838427:2596] disconnected; active server actors: 1
2025-10-31T08:21:51.528198Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838427:2596] disconnected no session
2025-10-31T08:21:51.547033Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.547082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:51.547107Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838411:2596] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.547147Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 15 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:51.549154Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:51.553261Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-31T08:21:51.553864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 15 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.564018Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 15 sessionId: sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.564060Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 15 sessionId: sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0 grpc read failed
2025-10-31T08:21:51.564097Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 15 sessionId: sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0 grpc closed
2025-10-31T08:21:51.564123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 15 sessionId: sid_rand_4|5f4445f2-dd4501a3-95d6917c-a1073070_0 is DEAD
2025-10-31T08:21:51.565614Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.565787Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.565803Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 16
2025-10-31T08:21:51.566687Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-10-31T08:21:51.566821Z 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]:46582
2025-10-31T08:21:51.566966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.566983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.569041Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-31T08:21:51.569207Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.569224Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.569238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.569257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.574831Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.587024Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.589628Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838460:2600] connected; active server actors: 1
2025-10-31T08:21:51.590278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_5
2025-10-31T08:21:51.590313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.591607Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838460:2600] disconnected; active server actors: 1
2025-10-31T08:21:51.591641Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838460:2600] disconnected no session
2025-10-31T08:21:51.612148Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.612201Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-31T08:21:51.612228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838441:2600] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.612268Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 16 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:21:51.615820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:51.616313Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_5
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.617555Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 16 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0
2025-10-31T08:21:51.620363Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 16 sessionId: sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.620390Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 16 sessionId: sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0 grpc read failed
2025-10-31T08:21:51.620432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 16 sessionId: sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0 grpc closed
2025-10-31T08:21:51.620457Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 16 sessionId: sid_rand_5|1a4e3e0-b560b4bd-e5722389-c523d40b_0 is DEAD
2025-10-31T08:21:51.621312Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.621431Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.621449Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 17
2025-10-31T08:21:51.623944Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-10-31T08:21:51.624099Z 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]:46582
2025-10-31T08:21:51.624121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.624133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.626079Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-31T08:21:51.626223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.626236Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.626249Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.626269Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.631352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.660021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.664240Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838489:2604] connected; active server actors: 1
2025-10-31T08:21:51.667469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_6
2025-10-31T08:21:51.667508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.671999Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838489:2604] disconnected; active server actors: 1
2025-10-31T08:21:51.672041Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838489:2604] disconnected no session
2025-10-31T08:21:51.692942Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.692990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:51.693014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838473:2604] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.693050Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 17 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:51.700165Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:51.700666Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-31T08:21:51.701837Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 17 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.710041Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 17 sessionId: sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.710078Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 17 sessionId: sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0 grpc read failed
2025-10-31T08:21:51.710106Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 17 sessionId: sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0 grpc closed
2025-10-31T08:21:51.710132Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 17 sessionId: sid_rand_6|6add05db-5729d7ad-f645c5d4-38cf5d7b_0 is DEAD
2025-10-31T08:21:51.711247Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.711372Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.711391Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 18
2025-10-31T08:21:51.716832Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-10-31T08:21:51.717008Z 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]:46582
2025-10-31T08:21:51.717030Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.717044Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.720042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-31T08:21:51.720241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.720257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.720279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.720302Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.728668Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.748194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.749243Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838523:2608] connected; active server actors: 1
2025-10-31T08:21:51.751850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_7
2025-10-31T08:21:51.751896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.754376Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838523:2608] disconnected; active server actors: 1
2025-10-31T08:21:51.754413Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838523:2608] disconnected no session
2025-10-31T08:21:51.762300Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.762348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-31T08:21:51.762372Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838504:2608] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.762409Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 18 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-31T08:21:51.764669Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:51.764957Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-31T08:21:51.765516Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 18 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.772081Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 18 sessionId: sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.772116Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 18 sessionId: sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0 grpc read failed
2025-10-31T08:21:51.772148Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 18 sessionId: sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0 grpc closed
2025-10-31T08:21:51.772171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 18 sessionId: sid_rand_7|300e12bc-69bb5219-cd1bd0f1-1fae25f5_0 is DEAD
2025-10-31T08:21:51.773023Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.773130Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.773148Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 19
2025-10-31T08:21:51.776159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-10-31T08:21:51.776307Z 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]:46582
2025-10-31T08:21:51.776328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.776341Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.778560Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-31T08:21:51.778720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.778734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.778748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.778765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.782779Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.799969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.802298Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838553:2612] connected; active server actors: 1
2025-10-31T08:21:51.803226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_8
2025-10-31T08:21:51.803263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.804323Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838553:2612] disconnected; active server actors: 1
2025-10-31T08:21:51.804357Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838553:2612] disconnected no session
2025-10-31T08:21:51.822167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.822214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-31T08:21:51.822238Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838536:2612] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.822273Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 19 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-31T08:21:51.823501Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:51.823800Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-31T08:21:51.825243Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 19 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.829733Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 19 sessionId: sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.829759Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.829766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 19 sessionId: sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0 grpc read failed
2025-10-31T08:21:51.829780Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 20
2025-10-31T08:21:51.829799Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 19 sessionId: sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0 grpc closed
2025-10-31T08:21:51.829821Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 19 sessionId: sid_rand_8|581c7599-3a590ca1-aeecd074-bed29e61_0 is DEAD
2025-10-31T08:21:51.830353Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-10-31T08:21:51.830495Z 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]:46582
2025-10-31T08:21:51.830530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.830543Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.830693Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.832336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-31T08:21:51.832500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.832530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.832546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.832567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.836930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.857131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.858246Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838602:2622] connected; active server actors: 1
2025-10-31T08:21:51.858835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_9
2025-10-31T08:21:51.858869Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.860146Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838602:2622] disconnected; active server actors: 1
2025-10-31T08:21:51.860182Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838602:2622] disconnected no session
2025-10-31T08:21:51.885170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.885225Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-31T08:21:51.885250Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838586:2622] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.885291Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 20 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-31T08:21:51.887253Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:51.887483Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-10-31T08:21:51.888039Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 20 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.901243Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 20 sessionId: sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.901278Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 20 sessionId: sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0 grpc read failed
2025-10-31T08:21:51.901314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 20 sessionId: sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0 grpc closed
2025-10-31T08:21:51.901338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 20 sessionId: sid_rand_9|b1b3bf06-ca8d73c0-a1ec2b90-20e4f5ce_0 is DEAD
2025-10-31T08:21:51.902237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.902349Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.902366Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 21
2025-10-31T08:21:51.903185Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-10-31T08:21:51.903328Z 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]:46582
2025-10-31T08:21:51.903349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.903360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.905508Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-31T08:21:51.905691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.905707Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.905722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.905744Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.915174Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.930529Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:51.936568Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838635:2626] connected; active server actors: 1
2025-10-31T08:21:51.937118Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_10
2025-10-31T08:21:51.937156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:51.938372Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838635:2626] disconnected; active server actors: 1
2025-10-31T08:21:51.938405Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838635:2626] disconnected no session
2025-10-31T08:21:51.961132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:51.961191Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-31T08:21:51.961218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838615:2626] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:51.961257Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 21 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-31T08:21:51.962205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:51.962712Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_10
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:51.963343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 21 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0
2025-10-31T08:21:51.965947Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 21 sessionId: sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0 grpc read done: success: 0 data: 
2025-10-31T08:21:51.965983Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 21 sessionId: sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0 grpc read failed
2025-10-31T08:21:51.966015Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 21 sessionId: sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0 grpc closed
2025-10-31T08:21:51.966039Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 21 sessionId: sid_rand_10|b4e89f05-6a918129-606e5585-e3eccb71_0 is DEAD
2025-10-31T08:21:51.966929Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:51.967035Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:51.967054Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 22
2025-10-31T08:21:51.968055Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-10-31T08:21:51.968203Z 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]:46582
2025-10-31T08:21:51.968225Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:51.968238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:51.970425Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-31T08:21:51.970663Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:51.970680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:51.970694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:51.970717Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:51.975600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:51.995194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.004279Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838666:2630] connected; active server actors: 1
2025-10-31T08:21:52.006941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_11
2025-10-31T08:21:52.006986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.009226Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838666:2630] disconnected; active server actors: 1
2025-10-31T08:21:52.009273Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298204717838666:2630] disconnected no session
2025-10-31T08:21:52.045665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.045714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-31T08:21:52.045739Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298204717838649:2630] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.045776Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 22 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-31T08:21:52.052213Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:52.052605Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_11
2025-10-31T08:21:52.060522Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 22 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.068088Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 22 sessionId: sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.068133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 22 sessionId: sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0 grpc read failed
2025-10-31T08:21:52.068171Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 22 sessionId: sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0 grpc closed
2025-10-31T08:21:52.068200Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 22 sessionId: sid_rand_11|b8471c05-33e80ea2-dbe3811b-19954259_0 is DEAD
2025-10-31T08:21:52.069004Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.069022Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 23
2025-10-31T08:21:52.069104Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.073911Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-10-31T08:21:52.074074Z 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]:46582
2025-10-31T08:21:52.074095Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.074108Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.075992Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-31T08:21:52.076151Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.076179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.076192Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.076213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:52.083730Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:52.098362Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806005:2635] connected; active server actors: 1
2025-10-31T08:21:52.096781Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.099067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_12
2025-10-31T08:21:52.099095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.100283Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806005:2635] disconnected; active server actors: 1
2025-10-31T08:21:52.100324Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806005:2635] disconnected no session
2025-10-31T08:21:52.119607Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-31T08:21:52.115483Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.115540Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-31T08:21:52.115567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012805986:2635] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.115611Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 23 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-31T08:21:52.119205Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.120991Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 23 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0
2025-10-31T08:21:52.125094Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 23 sessionId: sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.125128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 23 sessionId: sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0 grpc read failed
2025-10-31T08:21:52.125163Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 23 sessionId: sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0 grpc closed
2025-10-31T08:21:52.125187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 23 sessionId: sid_rand_12|de5cdd33-6ec3a3ba-77a0db58-9bfa10d9_0 is DEAD
2025-10-31T08:21:52.125422Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.125444Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 24
2025-10-31T08:21:52.126080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.126868Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-10-31T08:21:52.127017Z 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]:46582
2025-10-31T08:21:52.127039Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.127052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.130699Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-31T08:21:52.130855Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.130871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.130884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.130904Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:52.135082Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:52.155819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.157975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_13
2025-10-31T08:21:52.158019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.157092Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806035:2639] connected; active server actors: 1
2025-10-31T08:21:52.162643Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806035:2639] disconnected; active server actors: 1
2025-10-31T08:21:52.162690Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806035:2639] disconnected no session
2025-10-31T08:21:52.181660Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.181716Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-31T08:21:52.181741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012806017:2639] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.181781Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 24 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-31T08:21:52.183992Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:52.184403Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-10-31T08:21:52.184988Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 24 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.190301Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 24 sessionId: sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.190336Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 24 sessionId: sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0 grpc read failed
2025-10-31T08:21:52.190368Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 24 sessionId: sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0 grpc closed
2025-10-31T08:21:52.190395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 24 sessionId: sid_rand_13|ebbbac40-79636453-9847133c-e456b249_0 is DEAD
2025-10-31T08:21:52.191321Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.191444Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.191461Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 25
2025-10-31T08:21:52.192308Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-10-31T08:21:52.192447Z 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]:46582
2025-10-31T08:21:52.192468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.192480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.194554Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-31T08:21:52.194722Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.194737Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.194751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.194773Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:52.199057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:52.223715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.225935Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806070:2643] connected; active server actors: 1
2025-10-31T08:21:52.230527Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806070:2643] disconnected; active server actors: 1
2025-10-31T08:21:52.230573Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806070:2643] disconnected no session
2025-10-31T08:21:52.228303Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_14
2025-10-31T08:21:52.228342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.248575Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.248625Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-31T08:21:52.248652Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012806051:2643] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.248694Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 25 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-31T08:21:52.250252Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:52.250573Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-31T08:21:52.251206Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 25 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.259558Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 25 sessionId: sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.259593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 25 sessionId: sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0 grpc read failed
2025-10-31T08:21:52.259627Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 25 sessionId: sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0 grpc closed
2025-10-31T08:21:52.259651Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 25 sessionId: sid_rand_14|3c992288-b45bf16a-10dcdfe9-b2309d33_0 is DEAD
2025-10-31T08:21:52.259730Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.259753Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 26
2025-10-31T08:21:52.260086Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-10-31T08:21:52.260255Z 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]:46582
2025-10-31T08:21:52.260277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.260291Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.260660Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.263547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-31T08:21:52.263708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.263725Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.263740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.263760Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:52.268112Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:52.295945Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.301537Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_15
2025-10-31T08:21:52.301584Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.300898Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806108:2649] connected; active server actors: 1
2025-10-31T08:21:52.302905Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806108:2649] disconnected; active server actors: 1
2025-10-31T08:21:52.302937Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806108:2649] disconnected no session
2025-10-31T08:21:52.879129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.879187Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-31T08:21:52.879213Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012806092:2649] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.879252Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 26 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-31T08:21:52.883272Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:52.883690Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-10-31T08:21:52.885915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 26 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.888375Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.888408Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 27
2025-10-31T08:21:52.888582Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 26 sessionId: sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.888603Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 26 sessionId: sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0 grpc read failed
2025-10-31T08:21:52.888631Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 26 sessionId: sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0 grpc closed
2025-10-31T08:21:52.888657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 26 sessionId: sid_rand_15|f1a744ec-b15ae52f-37a9a662-71eae736_0 is DEAD
2025-10-31T08:21:52.889684Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.889862Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-10-31T08:21:52.889994Z 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]:46582
2025-10-31T08:21:52.890016Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.890029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.891782Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-31T08:21:52.892473Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.892498Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.892513Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.892535Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:52.896988Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:52.912813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:52.916611Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_16
2025-10-31T08:21:52.916651Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:52.916281Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806173:2660] connected; active server actors: 1
2025-10-31T08:21:52.917832Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806173:2660] disconnected; active server actors: 1
2025-10-31T08:21:52.917861Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298209012806173:2660] disconnected no session
2025-10-31T08:21:52.932585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:52.932638Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-31T08:21:52.932664Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012806153:2660] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:52.932696Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 27 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-31T08:21:52.937069Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:52.938481Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_16|b6398831-6254babb-879caf1b-220faa_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-31T08:21:52.940263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 27 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_16|b6398831-6254babb-879caf1b-220faa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|b6398831-6254babb-879caf1b-220faa_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:52.942226Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 27 sessionId: sid_rand_16|b6398831-6254babb-879caf1b-220faa_0 grpc read done: success: 0 data: 
2025-10-31T08:21:52.942257Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 27 sessionId: sid_rand_16|b6398831-6254babb-879caf1b-220faa_0 grpc read failed
2025-10-31T08:21:52.942731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 27 sessionId: sid_rand_16|b6398831-6254babb-879caf1b-220faa_0
2025-10-31T08:21:52.942760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 27 sessionId: sid_rand_16|b6398831-6254babb-879caf1b-220faa_0 is DEAD
2025-10-31T08:21:52.943222Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:52.943335Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:52.943351Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 28
2025-10-31T08:21:52.946089Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-10-31T08:21:52.946273Z 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]:46582
2025-10-31T08:21:52.946316Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:52.946332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:52.947945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-31T08:21:52.948122Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:52.948140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:52.948156Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:52.948179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.095044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.135640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.143929Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773519:2664] connected; active server actors: 1
2025-10-31T08:21:53.148385Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_17
2025-10-31T08:21:53.148426Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.149738Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773519:2664] disconnected; active server actors: 1
2025-10-31T08:21:53.149774Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773519:2664] disconnected no session
2025-10-31T08:21:53.170443Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.170510Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-31T08:21:53.170538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298209012806186:2664] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.170581Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 28 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:53.172666Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:53.173092Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-10-31T08:21:53.174187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 28 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.177961Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 28 sessionId: sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.177995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 28 sessionId: sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0 grpc read failed
2025-10-31T08:21:53.178027Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 28 sessionId: sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0 grpc closed
2025-10-31T08:21:53.178052Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 28 sessionId: sid_rand_17|9332ddbb-88e61630-cecaebc4-e0e984a3_0 is DEAD
2025-10-31T08:21:53.178962Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.179091Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.179109Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 29
2025-10-31T08:21:53.188064Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-10-31T08:21:53.188260Z 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]:46582
2025-10-31T08:21:53.188284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.188298Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.191230Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-31T08:21:53.191415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.191432Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.191445Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.191465Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.205283Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.230352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.240581Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773550:2669] connected; active server actors: 1
2025-10-31T08:21:53.241278Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_18
2025-10-31T08:21:53.241318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.242641Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773550:2669] disconnected; active server actors: 1
2025-10-31T08:21:53.242680Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773550:2669] disconnected no session
2025-10-31T08:21:53.254777Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.254828Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-31T08:21:53.254856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773534:2669] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.254898Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 29 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:53.261746Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:53.262158Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-31T08:21:53.262812Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 29 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.266036Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 29 sessionId: sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.266075Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 29 sessionId: sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0 grpc read failed
2025-10-31T08:21:53.266420Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 29 sessionId: sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0
2025-10-31T08:21:53.266450Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 29 sessionId: sid_rand_18|476bb6f8-6aa812d7-32f9a48e-ed7ffbaf_0 is DEAD
2025-10-31T08:21:53.266899Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.267008Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.267037Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 30
2025-10-31T08:21:53.267378Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-10-31T08:21:53.267509Z 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]:46582
2025-10-31T08:21:53.267536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.267547Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.270957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-31T08:21:53.271132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.271149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.271161Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.271180Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.300427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.324214Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.326251Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773585:2673] connected; active server actors: 1
2025-10-31T08:21:53.326847Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_19
2025-10-31T08:21:53.326882Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.328004Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773585:2673] disconnected; active server actors: 1
2025-10-31T08:21:53.328040Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773585:2673] disconnected no session
2025-10-31T08:21:53.339135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.339189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-31T08:21:53.339216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773565:2673] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.339257Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 30 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-31T08:21:53.342162Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:53.342488Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_19
2025-10-31T08:21:53.343188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 30 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.346104Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 30 sessionId: sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.346145Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 30 sessionId: sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0 grpc read failed
2025-10-31T08:21:53.346174Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 30 sessionId: sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0 grpc closed
2025-10-31T08:21:53.346210Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 30 sessionId: sid_rand_19|db2a37cc-130736b1-38a2ae12-3cc5769c_0 is DEAD
2025-10-31T08:21:53.347109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.347232Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.347249Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 31
2025-10-31T08:21:53.347550Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-10-31T08:21:53.347688Z 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]:46582
2025-10-31T08:21:53.347708Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.347720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.349720Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-31T08:21:53.349880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.349893Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.349906Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.349925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.354215Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.362218Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.364629Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773617:2677] connected; active server actors: 1
2025-10-31T08:21:53.365260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_20
2025-10-31T08:21:53.365291Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.366368Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773617:2677] disconnected; active server actors: 1
2025-10-31T08:21:53.366400Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773617:2677] disconnected no session
2025-10-31T08:21:53.395969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.396020Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-31T08:21:53.396045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773601:2677] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.396081Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 31 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-31T08:21:53.401841Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:53.403833Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-31T08:21:53.405000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 31 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.416017Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.416057Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 32
2025-10-31T08:21:53.416296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 31 sessionId: sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.416331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 31 sessionId: sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0 grpc read failed
2025-10-31T08:21:53.416386Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 31 sessionId: sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0 grpc closed
2025-10-31T08:21:53.416432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 31 sessionId: sid_rand_20|1577e37a-127dec87-6b9ac408-64a69a4b_0 is DEAD
2025-10-31T08:21:53.417804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.424041Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-10-31T08:21:53.424221Z 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]:46582
2025-10-31T08:21:53.424245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.424259Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.426367Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-31T08:21:53.426544Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.426559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.426574Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.426593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.430650Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.454208Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.458191Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773649:2681] connected; active server actors: 1
2025-10-31T08:21:53.465504Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_21
2025-10-31T08:21:53.465558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.467179Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773649:2681] disconnected; active server actors: 1
2025-10-31T08:21:53.467218Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773649:2681] disconnected no session
2025-10-31T08:21:53.482932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.482986Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:53.483012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773630:2681] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.483055Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 32 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:53.485829Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:53.486129Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-10-31T08:21:53.486797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 32 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.489936Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 32 sessionId: sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.489967Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 32 sessionId: sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0 grpc read failed
2025-10-31T08:21:53.490000Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 32 sessionId: sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0 grpc closed
2025-10-31T08:21:53.490023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 32 sessionId: sid_rand_21|202d53f-a001aeb-3df93d85-79ced8f1_0 is DEAD
2025-10-31T08:21:53.490941Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.491081Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.491099Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 33
2025-10-31T08:21:53.492139Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-10-31T08:21:53.492300Z 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]:46582
2025-10-31T08:21:53.492321Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.492334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.495029Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-31T08:21:53.495167Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.495179Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.495189Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.495203Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.499694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.514633Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.515416Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773679:2685] connected; active server actors: 1
2025-10-31T08:21:53.515836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_22
2025-10-31T08:21:53.515867Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.517070Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773679:2685] disconnected; active server actors: 1
2025-10-31T08:21:53.517110Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773679:2685] disconnected no session
2025-10-31T08:21:53.529005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.529053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:53.529077Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773663:2685] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.529114Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 33 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-31T08:21:53.532067Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:53.532394Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_22
2025-10-31T08:21:53.532877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 33 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.538737Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 33 sessionId: sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.538774Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 33 sessionId: sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0 grpc read failed
2025-10-31T08:21:53.538807Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 33 sessionId: sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0 grpc closed
2025-10-31T08:21:53.538833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 33 sessionId: sid_rand_22|cfc92e61-136c2e3a-b2829eb7-94782790_0 is DEAD
2025-10-31T08:21:53.539767Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.539878Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.539911Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 34
2025-10-31T08:21:53.540453Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-10-31T08:21:53.540601Z 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]:46582
2025-10-31T08:21:53.540644Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.540657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.543318Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-31T08:21:53.543491Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.543508Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.543523Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.543543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.547813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.563792Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.567277Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773708:2689] connected; active server actors: 1
2025-10-31T08:21:53.567838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_23
2025-10-31T08:21:53.567892Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.569168Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773708:2689] disconnected; active server actors: 1
2025-10-31T08:21:53.569204Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773708:2689] disconnected no session
2025-10-31T08:21:53.587059Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.587108Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:53.587133Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773692:2689] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.587171Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 34 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:53.591109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:53.591755Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-31T08:21:53.596247Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 34 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.598806Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 34 sessionId: sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.598836Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 34 sessionId: sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0 grpc read failed
2025-10-31T08:21:53.598866Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 34 sessionId: sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0 grpc closed
2025-10-31T08:21:53.598890Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 34 sessionId: sid_rand_23|a9b12453-2af2ac71-32683431-f5ae91c1_0 is DEAD
2025-10-31T08:21:53.599779Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.599912Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.599933Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 35
2025-10-31T08:21:53.601236Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-10-31T08:21:53.601390Z 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]:46582
2025-10-31T08:21:53.601413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.601427Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.603833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-31T08:21:53.604007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.604021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.604036Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.604057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.608794Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.620231Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.622416Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773740:2693] connected; active server actors: 1
2025-10-31T08:21:53.623320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_24
2025-10-31T08:21:53.623362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.624809Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773740:2693] disconnected; active server actors: 1
2025-10-31T08:21:53.624847Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773740:2693] disconnected no session
2025-10-31T08:21:53.646932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.646980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-31T08:21:53.647004Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773721:2693] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.647041Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 35 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:21:53.655435Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:53.655921Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-31T08:21:53.657074Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 35 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.659935Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 35 sessionId: sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.659968Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 35 sessionId: sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0 grpc read failed
2025-10-31T08:21:53.659997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 35 sessionId: sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0 grpc closed
2025-10-31T08:21:53.660022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 35 sessionId: sid_rand_24|1baafd02-129779d-5d3f1966-fea4694d_0 is DEAD
2025-10-31T08:21:53.660944Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.661058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.661076Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 36
2025-10-31T08:21:53.668474Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-10-31T08:21:53.668653Z 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]:46582
2025-10-31T08:21:53.668676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.668689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.670878Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-31T08:21:53.671052Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.671066Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.671080Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.671100Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.675350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.702333Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773769:2697] connected; active server actors: 1
2025-10-31T08:21:53.700926Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.703045Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_25
2025-10-31T08:21:53.703071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.704268Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773769:2697] disconnected; active server actors: 1
2025-10-31T08:21:53.704301Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773769:2697] disconnected no session
2025-10-31T08:21:53.719558Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.719616Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:53.719640Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773753:2697] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.719678Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 36 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:53.722418Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:53.722887Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-10-31T08:21:53.724077Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 36 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.727269Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 36 sessionId: sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.727301Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 36 sessionId: sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0 grpc read failed
2025-10-31T08:21:53.727331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 36 sessionId: sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0 grpc closed
2025-10-31T08:21:53.727366Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 36 sessionId: sid_rand_25|c4bfacc7-bc2812e4-dfbec706-8afda5ab_0 is DEAD
2025-10-31T08:21:53.728345Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.728478Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.728495Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 37
2025-10-31T08:21:53.730595Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-10-31T08:21:53.730757Z 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]:46582
2025-10-31T08:21:53.730777Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.730791Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.732957Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-31T08:21:53.733140Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.733158Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.733172Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.733194Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.737917Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.755564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.757915Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773803:2701] connected; active server actors: 1
2025-10-31T08:21:53.758696Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_26
2025-10-31T08:21:53.758734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.760596Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773803:2701] disconnected; active server actors: 1
2025-10-31T08:21:53.760645Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773803:2701] disconnected no session
2025-10-31T08:21:53.785600Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.785670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-31T08:21:53.785708Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773784:2701] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.785760Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 37 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-31T08:21:53.787934Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:53.788226Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-31T08:21:53.789007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 37 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.798904Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 37 sessionId: sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.798942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 37 sessionId: sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0 grpc read failed
2025-10-31T08:21:53.798975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 37 sessionId: sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0 grpc closed
2025-10-31T08:21:53.798999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 37 sessionId: sid_rand_26|cb1207ef-13d44e03-859b2395-a2a49b1b_0 is DEAD
2025-10-31T08:21:53.799948Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.800068Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.800086Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 38
2025-10-31T08:21:53.803916Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-10-31T08:21:53.804090Z 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]:46582
2025-10-31T08:21:53.804115Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.804128Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.825615Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-31T08:21:53.825802Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.825819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.825833Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.825854Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.831931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:53.874358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:53.879046Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773854:2705] connected; active server actors: 1
2025-10-31T08:21:53.879813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_27
2025-10-31T08:21:53.879850Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:53.881240Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773854:2705] disconnected; active server actors: 1
2025-10-31T08:21:53.881273Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773854:2705] disconnected no session
2025-10-31T08:21:53.913128Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:53.913177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-31T08:21:53.913205Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773833:2705] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:53.913244Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 38 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-31T08:21:53.920682Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:53.921003Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-10-31T08:21:53.921536Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 38 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:53.926156Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 38 sessionId: sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0 grpc read done: success: 0 data: 
2025-10-31T08:21:53.926186Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 38 sessionId: sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0 grpc read failed
2025-10-31T08:21:53.926535Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 38 sessionId: sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0
2025-10-31T08:21:53.926562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 38 sessionId: sid_rand_27|9ad29ee3-79764208-fb73f1c8-ab96571d_0 is DEAD
2025-10-31T08:21:53.926954Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:53.927878Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:53.927933Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 39
2025-10-31T08:21:53.928348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-10-31T08:21:53.928504Z 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]:46582
2025-10-31T08:21:53.928527Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:53.928542Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:53.930760Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-31T08:21:53.930943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:53.930960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:53.930975Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:53.930996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:53.935441Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.008155Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.011946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_28
2025-10-31T08:21:54.011982Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.011358Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773887:2715] connected; active server actors: 1
2025-10-31T08:21:54.013364Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773887:2715] disconnected; active server actors: 1
2025-10-31T08:21:54.013394Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298213307773887:2715] disconnected no session
2025-10-31T08:21:54.074334Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.074383Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-31T08:21:54.074409Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298213307773868:2715] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.074448Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 39 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-31T08:21:54.086643Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:54.086951Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-31T08:21:54.087483Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 39 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.096319Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 39 sessionId: sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.096356Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 39 sessionId: sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0 grpc read failed
2025-10-31T08:21:54.096401Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 39 sessionId: sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0 grpc closed
2025-10-31T08:21:54.096427Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 39 sessionId: sid_rand_28|fb0659a3-fb554eed-defc9bab-83a9794e_0 is DEAD
2025-10-31T08:21:54.097420Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.097558Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.097578Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 40
2025-10-31T08:21:54.098729Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-10-31T08:21:54.098886Z 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]:46582
2025-10-31T08:21:54.098908Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.098920Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.112297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-31T08:21:54.112486Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.112503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.112519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.112543Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.146745Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.181067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.185437Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741230:2719] connected; active server actors: 1
2025-10-31T08:21:54.186060Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_29
2025-10-31T08:21:54.186095Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.187387Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741230:2719] disconnected; active server actors: 1
2025-10-31T08:21:54.187424Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741230:2719] disconnected no session
2025-10-31T08:21:54.210206Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.210258Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-31T08:21:54.210285Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741198:2719] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.210326Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 40 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-31T08:21:54.214277Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:54.214730Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-31T08:21:54.215829Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 40 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.223319Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 40 sessionId: sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.223359Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 40 sessionId: sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0 grpc read failed
2025-10-31T08:21:54.223392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 40 sessionId: sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0 grpc closed
2025-10-31T08:21:54.223416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 40 sessionId: sid_rand_29|f8bb980a-b6674307-a5a0d084-5d16f7c6_0 is DEAD
2025-10-31T08:21:54.223491Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.223513Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 41
2025-10-31T08:21:54.223844Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-10-31T08:21:54.224010Z 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]:46582
2025-10-31T08:21:54.224034Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.224047Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.224428Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.226166Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-31T08:21:54.226315Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.226330Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.226345Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.226366Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.232896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.255566Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.259349Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741263:2724] connected; active server actors: 1
2025-10-31T08:21:54.259597Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_30
2025-10-31T08:21:54.259632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.263444Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741263:2724] disconnected; active server actors: 1
2025-10-31T08:21:54.263485Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741263:2724] disconnected no session
2025-10-31T08:21:54.283325Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.283370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-31T08:21:54.283394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741247:2724] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.283434Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 41 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-31T08:21:54.285725Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:54.286009Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_30
Init result: { 2025-10-31T08:21:54.286583Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 41 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0
status: SUCCESS init_response { session_id: "sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.288886Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 41 sessionId: sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.288915Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 41 sessionId: sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0 grpc read failed
2025-10-31T08:21:54.288948Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 41 sessionId: sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0 grpc closed
2025-10-31T08:21:54.288975Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 41 sessionId: sid_rand_30|108e5ac7-8a664dc6-c5a5c38e-d5dfa187_0 is DEAD
2025-10-31T08:21:54.289891Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.290002Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.290019Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 42
2025-10-31T08:21:54.291301Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-10-31T08:21:54.291447Z 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]:46582
2025-10-31T08:21:54.291468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.291480Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.293523Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-31T08:21:54.293690Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.293705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.293720Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.293741Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.298243Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.323378Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.336559Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741295:2728] connected; active server actors: 1
2025-10-31T08:21:54.337001Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_31
2025-10-31T08:21:54.337037Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.339824Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741295:2728] disconnected; active server actors: 1
2025-10-31T08:21:54.339861Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741295:2728] disconnected no session
2025-10-31T08:21:54.367547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.367595Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-31T08:21:54.367619Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741276:2728] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.367655Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 42 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:54.370709Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:54.371129Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-10-31T08:21:54.372290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 42 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.374869Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 42 sessionId: sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.374899Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 42 sessionId: sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0 grpc read failed
2025-10-31T08:21:54.374923Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 42 sessionId: sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0 grpc closed
2025-10-31T08:21:54.374947Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 42 sessionId: sid_rand_31|4a813ce3-fd187d80-b090ba39-45b398fe_0 is DEAD
2025-10-31T08:21:54.375787Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.375916Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.375933Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 43
2025-10-31T08:21:54.378034Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-10-31T08:21:54.378180Z 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]:46582
2025-10-31T08:21:54.378201Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.378213Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.380332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-31T08:21:54.380499Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.380515Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.380528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.380569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.386270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.396242Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.398059Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741325:2732] connected; active server actors: 1
2025-10-31T08:21:54.398538Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_32
2025-10-31T08:21:54.398565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.399554Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741325:2732] disconnected; active server actors: 1
2025-10-31T08:21:54.399582Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741325:2732] disconnected no session
2025-10-31T08:21:54.427528Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.427568Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-31T08:21:54.427588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741309:2732] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.427616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 43 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:54.428941Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.431331Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_32
2025-10-31T08:21:54.431706Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 43 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0
2025-10-31T08:21:54.435865Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 43 sessionId: sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.435913Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 43 sessionId: sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0 grpc read failed
2025-10-31T08:21:54.435942Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 43 sessionId: sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0 grpc closed
2025-10-31T08:21:54.435971Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 43 sessionId: sid_rand_32|1adafb30-6b031aad-7c55cd3-7674bad0_0 is DEAD
2025-10-31T08:21:54.436740Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.436845Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.436862Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 44
2025-10-31T08:21:54.437494Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-10-31T08:21:54.437644Z 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]:46582
2025-10-31T08:21:54.437676Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.437689Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.439446Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-31T08:21:54.439612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.439632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.439646Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.439665Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.447335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.463415Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.468200Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741357:2736] connected; active server actors: 1
2025-10-31T08:21:54.468666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_33
2025-10-31T08:21:54.468705Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.472547Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741357:2736] disconnected; active server actors: 1
2025-10-31T08:21:54.472584Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741357:2736] disconnected no session
2025-10-31T08:21:54.489715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.489762Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-31T08:21:54.489785Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741338:2736] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.489820Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 44 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-31T08:21:54.491466Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:54.491776Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_33
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.492349Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 44 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0
2025-10-31T08:21:54.494811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.494838Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 45
2025-10-31T08:21:54.494995Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 44 sessionId: sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.495018Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 44 sessionId: sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0 grpc read failed
2025-10-31T08:21:54.495045Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 44 sessionId: sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0 grpc closed
2025-10-31T08:21:54.495069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 44 sessionId: sid_rand_33|4c2eed20-bdb822a3-7ea7a7b2-cccd20a7_0 is DEAD
2025-10-31T08:21:54.495857Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.496600Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-10-31T08:21:54.496733Z 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]:46582
2025-10-31T08:21:54.496754Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.496766Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.498677Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-31T08:21:54.498851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.498866Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.498879Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.498896Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.505631Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.518930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.521095Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741386:2740] connected; active server actors: 1
2025-10-31T08:21:54.521438Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_34
2025-10-31T08:21:54.521470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.522874Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741386:2740] disconnected; active server actors: 1
2025-10-31T08:21:54.522909Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741386:2740] disconnected no session
2025-10-31T08:21:54.538228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.538279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-31T08:21:54.538304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741370:2740] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.538346Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 45 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-31T08:21:54.540368Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:54.540716Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-10-31T08:21:54.541474Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 45 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.544159Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 45 sessionId: sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.544191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 45 sessionId: sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0 grpc read failed
2025-10-31T08:21:54.544219Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 45 sessionId: sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0 grpc closed
2025-10-31T08:21:54.544244Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 45 sessionId: sid_rand_34|4175f51d-ba34f807-354db3c5-c2094f93_0 is DEAD
2025-10-31T08:21:54.545109Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.545224Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.545242Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 46
2025-10-31T08:21:54.546289Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-10-31T08:21:54.546434Z 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]:46582
2025-10-31T08:21:54.546456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.546468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.548697Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-31T08:21:54.548880Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.548895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.548910Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.548931Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.557863Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.575321Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.578407Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741417:2744] connected; active server actors: 1
2025-10-31T08:21:54.578940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_35
2025-10-31T08:21:54.578970Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.579949Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741417:2744] disconnected; active server actors: 1
2025-10-31T08:21:54.579984Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741417:2744] disconnected no session
2025-10-31T08:21:54.596844Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.596895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:54.596923Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741399:2744] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.596965Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 46 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:54.600178Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:54.601338Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_35
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.602624Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 46 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0
2025-10-31T08:21:54.605655Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 46 sessionId: sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.605679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 46 sessionId: sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0 grpc read failed
2025-10-31T08:21:54.605712Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 46 sessionId: sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0 grpc closed
2025-10-31T08:21:54.605737Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 46 sessionId: sid_rand_35|992214b9-bbfb3702-2d074678-bacb96f8_0 is DEAD
2025-10-31T08:21:54.606662Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.606777Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.606794Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 47
2025-10-31T08:21:54.607682Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-10-31T08:21:54.607821Z 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]:46582
2025-10-31T08:21:54.607855Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.607869Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.610511Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-31T08:21:54.610710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.610727Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.610742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.610765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.615983Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.638043Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.639113Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741449:2748] connected; active server actors: 1
2025-10-31T08:21:54.640071Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_36
2025-10-31T08:21:54.640123Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.641750Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741449:2748] disconnected; active server actors: 1
2025-10-31T08:21:54.641800Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741449:2748] disconnected no session
2025-10-31T08:21:54.656846Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.656898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:54.656924Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741430:2748] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.656966Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 47 sessionId:  partition: 13 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.659303Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:54.659772Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-10-31T08:21:54.661191Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 47 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0
2025-10-31T08:21:54.665361Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 47 sessionId: sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.665395Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 47 sessionId: sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0 grpc read failed
2025-10-31T08:21:54.665429Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 47 sessionId: sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0 grpc closed
2025-10-31T08:21:54.665456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 47 sessionId: sid_rand_36|cc153884-e98c7320-bdbe3f7f-9e26a3a1_0 is DEAD
2025-10-31T08:21:54.666558Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.666683Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.666701Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 48
2025-10-31T08:21:54.667130Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-10-31T08:21:54.667296Z 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]:46582
2025-10-31T08:21:54.667330Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.667343Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.669361Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-31T08:21:54.669546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.669565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.669582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.669603Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.678853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.706476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.708378Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741478:2752] connected; active server actors: 1
2025-10-31T08:21:54.709005Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_37
2025-10-31T08:21:54.709040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.710391Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741478:2752] disconnected; active server actors: 1
2025-10-31T08:21:54.710428Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741478:2752] disconnected no session
2025-10-31T08:21:54.727150Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.727202Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:54.727228Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741462:2752] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.727267Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 48 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:54.730237Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:54.730518Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-10-31T08:21:54.731058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 48 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.733650Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.733679Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 49
2025-10-31T08:21:54.733846Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 48 sessionId: sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.733867Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 48 sessionId: sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0 grpc read failed
2025-10-31T08:21:54.733896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 48 sessionId: sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0 grpc closed
2025-10-31T08:21:54.733921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 48 sessionId: sid_rand_37|20159803-19847eb7-8db3727f-99312a06_0 is DEAD
2025-10-31T08:21:54.734804Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.736053Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-10-31T08:21:54.736224Z 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]:46582
2025-10-31T08:21:54.736245Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.736258Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.738643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-31T08:21:54.738822Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.738838Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.738853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.738874Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.743960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.761593Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.763833Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741515:2756] connected; active server actors: 1
2025-10-31T08:21:54.768516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_38
2025-10-31T08:21:54.768559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.777262Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741515:2756] disconnected; active server actors: 1
2025-10-31T08:21:54.777304Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741515:2756] disconnected no session
2025-10-31T08:21:54.793421Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.793475Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-31T08:21:54.793503Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741496:2756] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.793547Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 49 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:21:54.796573Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:54.797038Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-10-31T08:21:54.798187Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 49 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.800982Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 49 sessionId: sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.801011Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 49 sessionId: sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0 grpc read failed
2025-10-31T08:21:54.801042Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 49 sessionId: sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0 grpc closed
2025-10-31T08:21:54.801068Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 49 sessionId: sid_rand_38|e70b87c9-6fe90a75-ba91dd36-2380f7a9_0 is DEAD
2025-10-31T08:21:54.801963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.802088Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.802104Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 50
2025-10-31T08:21:54.803671Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-10-31T08:21:54.803838Z 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]:46582
2025-10-31T08:21:54.803862Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.803877Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.806798Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-31T08:21:54.806990Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.807007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.807023Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.807046Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.811756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.823758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.826739Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741543:2760] connected; active server actors: 1
2025-10-31T08:21:54.827312Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_39
2025-10-31T08:21:54.827348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.829386Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741543:2760] disconnected; active server actors: 1
2025-10-31T08:21:54.829426Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741543:2760] disconnected no session
2025-10-31T08:21:54.867237Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.867290Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:54.867316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741527:2760] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.867373Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 50 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:54.877102Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:54.877556Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-10-31T08:21:54.878652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 50 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.881277Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 50 sessionId: sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.881305Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 50 sessionId: sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0 grpc read failed
2025-10-31T08:21:54.881332Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 50 sessionId: sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0 grpc closed
2025-10-31T08:21:54.881354Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 50 sessionId: sid_rand_39|724f8f06-6ac44524-102f88a7-983596ee_0 is DEAD
2025-10-31T08:21:54.882207Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.882435Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.882451Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 51
2025-10-31T08:21:54.883855Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-10-31T08:21:54.884014Z 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]:46582
2025-10-31T08:21:54.884036Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.884048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.886161Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-31T08:21:54.886342Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.886358Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.886373Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.886394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.892178Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:54.920578Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:54.928629Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741582:2767] connected; active server actors: 1
2025-10-31T08:21:54.936819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_40
2025-10-31T08:21:54.936864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:54.938430Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741582:2767] disconnected; active server actors: 1
2025-10-31T08:21:54.938468Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298217602741582:2767] disconnected no session
2025-10-31T08:21:54.962234Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:54.962286Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-31T08:21:54.962311Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741561:2767] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:54.962348Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 51 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-31T08:21:54.965290Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:54.965567Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-31T08:21:54.966137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 51 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:54.969591Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 51 sessionId: sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:54.969619Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 51 sessionId: sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0 grpc read failed
2025-10-31T08:21:54.969647Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 51 sessionId: sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0 grpc closed
2025-10-31T08:21:54.969670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 51 sessionId: sid_rand_40|b3011c5-666f864b-a2876a14-39f81e4f_0 is DEAD
2025-10-31T08:21:54.970599Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:54.970832Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:54.970851Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 52
2025-10-31T08:21:54.973085Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-10-31T08:21:54.973258Z 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]:46582
2025-10-31T08:21:54.973282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:54.973297Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:54.975705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-31T08:21:54.975898Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:54.975915Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:54.975930Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:54.975952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:54.980969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.024057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.025450Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708916:2771] connected; active server actors: 1
2025-10-31T08:21:55.025709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_41
2025-10-31T08:21:55.025743Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.026667Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708916:2771] disconnected; active server actors: 1
2025-10-31T08:21:55.026700Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708916:2771] disconnected no session
2025-10-31T08:21:55.177870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.177918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-31T08:21:55.177943Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298217602741595:2771] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.177981Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 52 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-31T08:21:55.186723Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:55.187328Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-10-31T08:21:55.189231Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 52 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.197709Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.197747Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 53
2025-10-31T08:21:55.198120Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 52 sessionId: sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.198143Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 52 sessionId: sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0 grpc read failed
2025-10-31T08:21:55.198170Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 52 sessionId: sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0 grpc closed
2025-10-31T08:21:55.198195Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 52 sessionId: sid_rand_41|3b7c6e07-28f6c3dc-e74b9195-db79f5a7_0 is DEAD
2025-10-31T08:21:55.199145Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.209297Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-10-31T08:21:55.209488Z 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]:46582
2025-10-31T08:21:55.209512Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.209526Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.211717Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-31T08:21:55.211918Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.211935Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.211950Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.211971Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.219632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.244992Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.246910Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708972:2780] connected; active server actors: 1
2025-10-31T08:21:55.247229Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_42
2025-10-31T08:21:55.247259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.249118Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708972:2780] disconnected; active server actors: 1
2025-10-31T08:21:55.249159Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897708972:2780] disconnected no session
2025-10-31T08:21:55.261801Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.261851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-31T08:21:55.261878Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897708945:2780] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.261918Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 53 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:55.264386Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:55.264685Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-31T08:21:55.265238Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 53 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.267767Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 53 sessionId: sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.267797Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 53 sessionId: sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0 grpc read failed
2025-10-31T08:21:55.267825Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 53 sessionId: sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0 grpc closed
2025-10-31T08:21:55.267850Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 53 sessionId: sid_rand_42|78d8c9f1-4303c372-35311231-c97f147b_0 is DEAD
2025-10-31T08:21:55.268751Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.268888Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.268905Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 54
2025-10-31T08:21:55.269837Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-10-31T08:21:55.269973Z 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]:46582
2025-10-31T08:21:55.269994Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.270005Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.272063Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-31T08:21:55.272219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.272244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.272257Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.272277Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.276884Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.287017Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.291388Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709002:2786] connected; active server actors: 1
2025-10-31T08:21:55.292096Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_43
2025-10-31T08:21:55.292132Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.293495Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709002:2786] disconnected; active server actors: 1
2025-10-31T08:21:55.293532Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709002:2786] disconnected no session
2025-10-31T08:21:55.305053Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.305101Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-31T08:21:55.305126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897708986:2786] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.305164Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 54 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-31T08:21:55.306558Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:55.306667Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-10-31T08:21:55.307009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 54 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.308545Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 54 sessionId: sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.308573Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 54 sessionId: sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0 grpc read failed
2025-10-31T08:21:55.308612Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 54 sessionId: sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0
2025-10-31T08:21:55.308636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 54 sessionId: sid_rand_43|af341fc9-90852a1-1bf69e0b-35c5eaac_0 is DEAD
2025-10-31T08:21:55.309003Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.309748Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.309774Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 55
2025-10-31T08:21:55.310214Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-10-31T08:21:55.310362Z 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]:46582
2025-10-31T08:21:55.310392Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.310404Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.312646Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-31T08:21:55.312819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.312835Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.312851Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.312872Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.317758Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.327996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.329612Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709031:2790] connected; active server actors: 1
2025-10-31T08:21:55.330211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_44
2025-10-31T08:21:55.330244Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.331484Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709031:2790] disconnected; active server actors: 1
2025-10-31T08:21:55.331520Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709031:2790] disconnected no session
2025-10-31T08:21:55.344341Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.344393Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-31T08:21:55.344422Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709015:2790] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.344461Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 55 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-31T08:21:55.346803Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:55.347074Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-31T08:21:55.347616Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 55 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.349625Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 55 sessionId: sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.349652Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 55 sessionId: sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0 grpc read failed
2025-10-31T08:21:55.349682Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 55 sessionId: sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0 grpc closed
2025-10-31T08:21:55.349718Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 55 sessionId: sid_rand_44|7f04a192-e168cef3-544085d7-8931633_0 is DEAD
2025-10-31T08:21:55.350664Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.350782Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.350799Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 56
2025-10-31T08:21:55.351369Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-10-31T08:21:55.351521Z 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]:46582
2025-10-31T08:21:55.351550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.351563Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.355179Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-31T08:21:55.355346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.355362Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.355377Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.355396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.360223Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.376259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.378977Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709063:2794] connected; active server actors: 1
2025-10-31T08:21:55.381265Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_45
2025-10-31T08:21:55.381314Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.383015Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709063:2794] disconnected; active server actors: 1
2025-10-31T08:21:55.383055Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709063:2794] disconnected no session
2025-10-31T08:21:55.407585Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.407644Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:55.407669Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709044:2794] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.407722Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 56 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:55.409976Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:55.410118Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-31T08:21:55.410705Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 56 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.413938Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 56 sessionId: sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.413969Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 56 sessionId: sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0 grpc read failed
2025-10-31T08:21:55.413997Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 56 sessionId: sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0 grpc closed
2025-10-31T08:21:55.414023Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 56 sessionId: sid_rand_45|4f3930ba-c5f520e5-9d0d9adb-94d6c7d9_0 is DEAD
2025-10-31T08:21:55.414930Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.415043Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.415061Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 57
2025-10-31T08:21:55.416170Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-10-31T08:21:55.416326Z 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]:46582
2025-10-31T08:21:55.416347Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.416360Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.419112Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-31T08:21:55.419281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.419297Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.419313Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.419335Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.425075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.441216Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.443936Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709094:2798] connected; active server actors: 1
2025-10-31T08:21:55.444782Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_46
2025-10-31T08:21:55.444819Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.446439Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709094:2798] disconnected; active server actors: 1
2025-10-31T08:21:55.446493Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709094:2798] disconnected no session
2025-10-31T08:21:55.467370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.467419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:55.467444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709078:2798] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.467482Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 57 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-31T08:21:55.474179Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:55.474533Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-10-31T08:21:55.475261Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 57 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.477673Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 57 sessionId: sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.477702Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 57 sessionId: sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0 grpc read failed
2025-10-31T08:21:55.477732Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 57 sessionId: sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0 grpc closed
2025-10-31T08:21:55.477756Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 57 sessionId: sid_rand_46|d827c49d-164f0caa-2c3be634-ad06cb30_0 is DEAD
2025-10-31T08:21:55.478679Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.478794Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.478811Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 58
2025-10-31T08:21:55.482398Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-10-31T08:21:55.482587Z 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]:46582
2025-10-31T08:21:55.482608Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.482623Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.484949Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-31T08:21:55.485131Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.485147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.485164Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.485184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.490789Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.503666Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709126:2802] connected; active server actors: 1
2025-10-31T08:21:55.502147Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.509997Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_47
2025-10-31T08:21:55.510040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.511624Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709126:2802] disconnected; active server actors: 1
2025-10-31T08:21:55.511663Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709126:2802] disconnected no session
2025-10-31T08:21:55.535219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.535270Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:55.535296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709107:2802] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.535332Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 58 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:55.538367Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:55.538767Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-10-31T08:21:55.539217Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 58 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.541616Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 58 sessionId: sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.541643Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 58 sessionId: sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0 grpc read failed
2025-10-31T08:21:55.541673Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 58 sessionId: sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0 grpc closed
2025-10-31T08:21:55.541693Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 58 sessionId: sid_rand_47|d52d4184-379d18c2-91088b51-6f4ce77f_0 is DEAD
2025-10-31T08:21:55.542539Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.542671Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.542687Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 59
2025-10-31T08:21:55.544005Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-10-31T08:21:55.544152Z 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]:46582
2025-10-31T08:21:55.544181Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.544192Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.545772Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-31T08:21:55.545885Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.545895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.545905Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.545919Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.549823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.557719Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.559336Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709172:2806] connected; active server actors: 1
2025-10-31T08:21:55.562493Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709172:2806] disconnected; active server actors: 1
2025-10-31T08:21:55.562528Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709172:2806] disconnected no session
2025-10-31T08:21:55.561530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_48
2025-10-31T08:21:55.561565Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.587577Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.587624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-31T08:21:55.587648Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709145:2806] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.587684Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 59 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:21:55.589043Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:55.589427Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_48
2025-10-31T08:21:55.590525Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 59 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.595048Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 59 sessionId: sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.595080Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 59 sessionId: sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0 grpc read failed
2025-10-31T08:21:55.595111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 59 sessionId: sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0 grpc closed
2025-10-31T08:21:55.595136Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 59 sessionId: sid_rand_48|4c54e038-95b72372-e018901-6d65c49c_0 is DEAD
2025-10-31T08:21:55.595205Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.595227Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 60
2025-10-31T08:21:55.595578Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-10-31T08:21:55.595723Z 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]:46582
2025-10-31T08:21:55.595745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.595758Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.596180Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.599460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-31T08:21:55.599654Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.599673Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.599689Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.599710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.604040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.619220Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.620948Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_49
2025-10-31T08:21:55.620980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.620433Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709203:2815] connected; active server actors: 1
2025-10-31T08:21:55.621870Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709203:2815] disconnected; active server actors: 1
2025-10-31T08:21:55.621898Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709203:2815] disconnected no session
2025-10-31T08:21:55.646958Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.647016Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:55.647044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709187:2815] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.647087Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 60 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:55.648534Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:55.648939Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-10-31T08:21:55.650048Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 60 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.654938Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 60 sessionId: sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.654974Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 60 sessionId: sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0 grpc read failed
2025-10-31T08:21:55.655008Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 60 sessionId: sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0 grpc closed
2025-10-31T08:21:55.655037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 60 sessionId: sid_rand_49|10c3297-845c3f0f-3b54ab23-a9cf128c_0 is DEAD
2025-10-31T08:21:55.655060Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.655082Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 61
2025-10-31T08:21:55.655972Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.659349Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-10-31T08:21:55.659535Z 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]:46582
2025-10-31T08:21:55.659559Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.659572Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.661484Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-31T08:21:55.661659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.661680Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.661694Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.661714Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.665940Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.678259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.679318Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_50
2025-10-31T08:21:55.679347Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.678834Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709235:2819] connected; active server actors: 1
2025-10-31T08:21:55.680473Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709235:2819] disconnected; active server actors: 1
2025-10-31T08:21:55.680506Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709235:2819] disconnected no session
2025-10-31T08:21:55.698451Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.698516Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-31T08:21:55.698541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709215:2819] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.698583Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 61 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-31T08:21:55.700050Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:55.700192Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-31T08:21:55.701669Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 61 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.711419Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 61 sessionId: sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.711456Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 61 sessionId: sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0 grpc read failed
2025-10-31T08:21:55.711492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 61 sessionId: sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0 grpc closed
2025-10-31T08:21:55.711518Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 61 sessionId: sid_rand_50|5248bf03-44950fd8-c554e9ef-b53fe53f_0 is DEAD
2025-10-31T08:21:55.712072Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.712093Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 62
2025-10-31T08:21:55.712402Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.715055Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-10-31T08:21:55.715225Z 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]:46582
2025-10-31T08:21:55.715254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.715266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.717137Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-31T08:21:55.717316Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.717333Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.717348Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.717370Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.721995Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.733567Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.734826Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709267:2823] connected; active server actors: 1
2025-10-31T08:21:55.735279Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_51
2025-10-31T08:21:55.735309Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.737824Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709267:2823] disconnected; active server actors: 1
2025-10-31T08:21:55.737865Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709267:2823] disconnected no session
2025-10-31T08:21:55.745541Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.745588Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-31T08:21:55.745612Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709251:2823] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.745647Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 62 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-31T08:21:55.747858Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:55.748191Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-10-31T08:21:55.755267Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 62 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.762420Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 62 sessionId: sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.762459Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 62 sessionId: sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0 grpc read failed
2025-10-31T08:21:55.762506Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 62 sessionId: sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0 grpc closed
2025-10-31T08:21:55.762531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 62 sessionId: sid_rand_51|6335b9a5-7f1ac311-4e989119-734e280f_0 is DEAD
2025-10-31T08:21:55.763088Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.763107Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 63
2025-10-31T08:21:55.763407Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.765322Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-10-31T08:21:55.765438Z 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]:46582
2025-10-31T08:21:55.765453Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.765462Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.766874Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-31T08:21:55.767007Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.767019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.767028Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.767042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.770649Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.790211Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.793747Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709297:2827] connected; active server actors: 1
2025-10-31T08:21:55.796182Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_52
2025-10-31T08:21:55.796226Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.798795Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709297:2827] disconnected; active server actors: 1
2025-10-31T08:21:55.798832Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709297:2827] disconnected no session
2025-10-31T08:21:55.817921Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.817972Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-31T08:21:55.817998Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709281:2827] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.818038Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 63 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-31T08:21:55.819256Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:55.819489Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_52
2025-10-31T08:21:55.824338Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 63 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.831974Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 63 sessionId: sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.832013Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 63 sessionId: sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0 grpc read failed
2025-10-31T08:21:55.832053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 63 sessionId: sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0 grpc closed
2025-10-31T08:21:55.832080Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 63 sessionId: sid_rand_52|beeae421-576a14a-a1dd34ca-179af141_0 is DEAD
2025-10-31T08:21:55.833072Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.833203Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.833221Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 64
2025-10-31T08:21:55.836101Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-10-31T08:21:55.836258Z 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]:46582
2025-10-31T08:21:55.836277Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.836289Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.837999Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-31T08:21:55.838137Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.838149Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.838160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.838175Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.843691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.852569Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.853658Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709332:2831] connected; active server actors: 1
2025-10-31T08:21:55.854135Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_53
2025-10-31T08:21:55.854168Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.855106Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709332:2831] disconnected; active server actors: 1
2025-10-31T08:21:55.855158Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709332:2831] disconnected no session
2025-10-31T08:21:55.863469Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.863520Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-31T08:21:55.863547Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709312:2831] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.863585Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 64 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-31T08:21:55.864300Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:55.864948Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_53
2025-10-31T08:21:55.865424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 64 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.869087Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 64 sessionId: sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.869123Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 64 sessionId: sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0 grpc read failed
2025-10-31T08:21:55.869158Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 64 sessionId: sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0 grpc closed
2025-10-31T08:21:55.869188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 64 sessionId: sid_rand_53|e1a201f9-f3124c63-4b5f304d-509f4a7b_0 is DEAD
2025-10-31T08:21:55.869976Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.869995Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 65
2025-10-31T08:21:55.870204Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.876076Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-10-31T08:21:55.876237Z 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]:46582
2025-10-31T08:21:55.876254Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.876266Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.878521Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-31T08:21:55.878715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.878732Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.878748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.878770Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.883282Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.895871Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.904470Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709361:2836] connected; active server actors: 1
2025-10-31T08:21:55.908350Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_54
2025-10-31T08:21:55.908392Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.909540Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709361:2836] disconnected; active server actors: 1
2025-10-31T08:21:55.909579Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709361:2836] disconnected no session
2025-10-31T08:21:55.932444Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.932496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-31T08:21:55.932525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709345:2836] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.932568Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 65 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-31T08:21:55.939522Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:55.940115Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_54
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:55.943845Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 65 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0
2025-10-31T08:21:55.948192Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 65 sessionId: sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0 grpc read done: success: 0 data: 
2025-10-31T08:21:55.948241Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 65 sessionId: sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0 grpc read failed
2025-10-31T08:21:55.948282Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 65 sessionId: sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0 grpc closed
2025-10-31T08:21:55.948311Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 65 sessionId: sid_rand_54|5f095b48-c66a168-55f3611d-46855ccb_0 is DEAD
2025-10-31T08:21:55.948506Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:55.948528Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 66
2025-10-31T08:21:55.949342Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:55.949561Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-10-31T08:21:55.949702Z 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]:46582
2025-10-31T08:21:55.949733Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:55.949746Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:55.960468Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-31T08:21:55.960692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:55.960710Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:55.960726Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:55.960748Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:55.971170Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:55.983740Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:55.985446Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709394:2840] connected; active server actors: 1
2025-10-31T08:21:55.986089Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_55
2025-10-31T08:21:55.986126Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:55.987393Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709394:2840] disconnected; active server actors: 1
2025-10-31T08:21:55.987429Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298221897709394:2840] disconnected no session
2025-10-31T08:21:55.999519Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:55.999564Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-31T08:21:55.999590Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298221897709375:2840] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:55.999626Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 66 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-31T08:21:56.000565Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:56.000707Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-10-31T08:21:56.001168Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 66 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.003507Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.003510Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 66 sessionId: sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.003530Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 66 sessionId: sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0 grpc read failed
2025-10-31T08:21:56.003533Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 67
2025-10-31T08:21:56.003562Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 66 sessionId: sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0 grpc closed
2025-10-31T08:21:56.003587Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 66 sessionId: sid_rand_55|f7489c46-4e056c70-477c0a6b-22877dae_0 is DEAD
2025-10-31T08:21:56.004211Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-10-31T08:21:56.004363Z 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]:46582
2025-10-31T08:21:56.004384Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.004396Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.004654Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.006731Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-31T08:21:56.006900Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.006916Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.006932Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.006952Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.011476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.027461Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.040726Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676719:2844] connected; active server actors: 1
2025-10-31T08:21:56.041389Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_56
2025-10-31T08:21:56.041427Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.049157Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676719:2844] disconnected; active server actors: 1
2025-10-31T08:21:56.049201Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676719:2844] disconnected no session
2025-10-31T08:21:56.060996Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.061049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-31T08:21:56.061075Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676703:2844] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.061118Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 67 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:56.077820Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.080100Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-31T08:21:56.081413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 67 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.083863Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.083875Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 67 sessionId: sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.083911Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 68
2025-10-31T08:21:56.083921Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 67 sessionId: sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0 grpc read failed
2025-10-31T08:21:56.083960Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 67 sessionId: sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0 grpc closed
2025-10-31T08:21:56.083987Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 67 sessionId: sid_rand_56|e4b868d3-4edbd7d5-8b4030a4-b65004a3_0 is DEAD
2025-10-31T08:21:56.084496Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-10-31T08:21:56.084646Z 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]:46582
2025-10-31T08:21:56.084667Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.084680Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.084944Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.086458Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-31T08:21:56.086645Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.086670Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.086684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.086702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.091658Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.101656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.103964Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676749:2848] connected; active server actors: 1
2025-10-31T08:21:56.105181Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_57
2025-10-31T08:21:56.105217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.106598Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676749:2848] disconnected; active server actors: 1
2025-10-31T08:21:56.106642Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676749:2848] disconnected no session
2025-10-31T08:21:56.136704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.136757Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:56.136784Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676732:2848] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.136823Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 68 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:56.139006Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:56.139404Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_57
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.140032Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 68 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0
2025-10-31T08:21:56.143405Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 68 sessionId: sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.143437Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 68 sessionId: sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0 grpc read failed
2025-10-31T08:21:56.143455Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.143470Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 68 sessionId: sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0 grpc closed
2025-10-31T08:21:56.143475Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 69
2025-10-31T08:21:56.143492Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 68 sessionId: sid_rand_57|c7150cae-b307bb3c-48c0d222-9df29f9_0 is DEAD
2025-10-31T08:21:56.143950Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-10-31T08:21:56.144101Z 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]:46582
2025-10-31T08:21:56.144121Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.144133Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.144369Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.146467Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-31T08:21:56.146639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.146659Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.146674Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.146693Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.150604Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.167317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.168414Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676782:2852] connected; active server actors: 1
2025-10-31T08:21:56.169067Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_58
2025-10-31T08:21:56.169102Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.169983Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676782:2852] disconnected; active server actors: 1
2025-10-31T08:21:56.170017Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676782:2852] disconnected no session
2025-10-31T08:21:56.179480Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.179531Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:56.179559Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676763:2852] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.179598Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 69 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-31T08:21:56.180459Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:56.180699Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-31T08:21:56.181227Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 69 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.183980Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 69 sessionId: sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.184020Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 69 sessionId: sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0 grpc read failed
2025-10-31T08:21:56.184053Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 69 sessionId: sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0 grpc closed
2025-10-31T08:21:56.184076Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 69 sessionId: sid_rand_58|2c776e6b-726b2dc8-ae971508-f01d677f_0 is DEAD
2025-10-31T08:21:56.184918Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.185058Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.185076Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 70
2025-10-31T08:21:56.186406Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-10-31T08:21:56.186565Z 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]:46582
2025-10-31T08:21:56.186585Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.186597Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.188504Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-31T08:21:56.188661Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.188675Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.188688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.188709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.202012Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.222496Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.223500Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_59
2025-10-31T08:21:56.223321Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676826:2856] connected; active server actors: 1
2025-10-31T08:21:56.223530Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.224200Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676826:2856] disconnected; active server actors: 1
2025-10-31T08:21:56.224228Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676826:2856] disconnected no session
2025-10-31T08:21:56.238987Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.239042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:56.239065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676795:2856] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.239102Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 70 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:56.240168Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:56.240421Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_59
2025-10-31T08:21:56.241012Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 70 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.246629Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 70 sessionId: sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.246679Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 70 sessionId: sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0 grpc read failed
2025-10-31T08:21:56.246728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 70 sessionId: sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0 grpc closed
2025-10-31T08:21:56.246752Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 70 sessionId: sid_rand_59|4db75f4b-ac2661a0-342e7152-1dae3d39_0 is DEAD
2025-10-31T08:21:56.247574Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.247732Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.247764Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 71
2025-10-31T08:21:56.249344Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-10-31T08:21:56.249514Z 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]:46582
2025-10-31T08:21:56.249538Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.249550Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.251600Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-31T08:21:56.251731Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.251742Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.251754Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.251769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.255964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.267079Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.269391Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_60
2025-10-31T08:21:56.269416Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.268769Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676857:2861] connected; active server actors: 1
2025-10-31T08:21:56.276303Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676857:2861] disconnected; active server actors: 1
2025-10-31T08:21:56.276349Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676857:2861] disconnected no session
2025-10-31T08:21:56.294346Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.294396Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-31T08:21:56.294420Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676840:2861] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.294459Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 71 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:21:56.300898Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_60
2025-10-31T08:21:56.300230Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.306300Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 71 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.308931Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 71 sessionId: sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.308966Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 71 sessionId: sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0 grpc read failed
2025-10-31T08:21:56.308995Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 71 sessionId: sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0 grpc closed
2025-10-31T08:21:56.309022Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 71 sessionId: sid_rand_60|f8119923-262cb6c5-fe3dc19b-b89a4d3_0 is DEAD
2025-10-31T08:21:56.309903Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.310032Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.310049Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 72
2025-10-31T08:21:56.310456Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-10-31T08:21:56.310628Z 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]:46582
2025-10-31T08:21:56.310648Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.310660Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.312531Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-31T08:21:56.312723Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.312738Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.312751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.312771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.317009Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.343752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.357188Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676889:2865] connected; active server actors: 1
2025-10-31T08:21:56.357765Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_61
2025-10-31T08:21:56.357806Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.359155Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676889:2865] disconnected; active server actors: 1
2025-10-31T08:21:56.359194Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676889:2865] disconnected no session
2025-10-31T08:21:56.374632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.374684Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-31T08:21:56.374709Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676869:2865] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.374746Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 72 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-31T08:21:56.377380Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_61
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.377026Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.378334Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 72 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0
2025-10-31T08:21:56.384248Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 72 sessionId: sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.384284Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 72 sessionId: sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0 grpc read failed
2025-10-31T08:21:56.384328Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 72 sessionId: sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0 grpc closed
2025-10-31T08:21:56.384350Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 72 sessionId: sid_rand_61|663e959f-920b41ea-38e2d4ad-be39231c_0 is DEAD
2025-10-31T08:21:56.385293Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.385409Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.385426Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 73
2025-10-31T08:21:56.386743Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-10-31T08:21:56.386863Z 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]:46582
2025-10-31T08:21:56.386883Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.386896Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.389593Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-31T08:21:56.389750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.389768Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.389783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.389804Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.393185Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.411827Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.416457Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676917:2869] connected; active server actors: 1
2025-10-31T08:21:56.418263Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_62
2025-10-31T08:21:56.418304Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.424175Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676917:2869] disconnected; active server actors: 1
2025-10-31T08:21:56.424213Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676917:2869] disconnected no session
2025-10-31T08:21:56.431704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.431751Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-31T08:21:56.431776Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676901:2869] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.431815Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 73 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-31T08:21:56.433045Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:56.433348Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_62
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.433870Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 73 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0
2025-10-31T08:21:56.435920Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 73 sessionId: sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.435945Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 73 sessionId: sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0 grpc read failed
2025-10-31T08:21:56.435986Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 73 sessionId: sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0
2025-10-31T08:21:56.436007Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 73 sessionId: sid_rand_62|9b1dee4f-218041ec-a4585ed2-9e5e5064_0 is DEAD
2025-10-31T08:21:56.436359Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.437055Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.437080Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 74
2025-10-31T08:21:56.437452Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-10-31T08:21:56.437586Z 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]:46582
2025-10-31T08:21:56.437605Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.437617Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.439515Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-31T08:21:56.439687Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.439702Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.439715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.439734Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.443769Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.459656Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.460925Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676948:2873] connected; active server actors: 1
2025-10-31T08:21:56.461525Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_63
2025-10-31T08:21:56.461557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.462822Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676948:2873] disconnected; active server actors: 1
2025-10-31T08:21:56.462852Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676948:2873] disconnected no session
2025-10-31T08:21:56.474320Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.474369Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-31T08:21:56.474394Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676932:2873] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.474431Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 74 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-31T08:21:56.476676Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.477052Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-10-31T08:21:56.478096Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 74 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.479753Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 74 sessionId: sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.479780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 74 sessionId: sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0 grpc read failed
2025-10-31T08:21:56.479820Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 74 sessionId: sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0
2025-10-31T08:21:56.479842Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 74 sessionId: sid_rand_63|8a986a28-44a60f37-d75f8ad0-acfab798_0 is DEAD
2025-10-31T08:21:56.480216Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.481075Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.481100Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 75
2025-10-31T08:21:56.481481Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-10-31T08:21:56.481618Z 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]:46582
2025-10-31T08:21:56.481639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.481649Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.483589Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-31T08:21:56.483756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.483771Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.483783Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.483803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.488160Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.497994Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676979:2877] connected; active server actors: 1
2025-10-31T08:21:56.496864Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.498527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_64
2025-10-31T08:21:56.498551Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.499463Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676979:2877] disconnected; active server actors: 1
2025-10-31T08:21:56.499492Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192676979:2877] disconnected no session
2025-10-31T08:21:56.509853Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.509901Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-31T08:21:56.509925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676960:2877] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.510028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 75 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-31T08:21:56.511960Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:56.512200Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-31T08:21:56.512745Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 75 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.515771Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 75 sessionId: sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.515802Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 75 sessionId: sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0 grpc read failed
2025-10-31T08:21:56.515847Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 75 sessionId: sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0 grpc closed
2025-10-31T08:21:56.515872Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 75 sessionId: sid_rand_64|7e9ab11c-fede7bf2-3495cefa-3c18b4dd_0 is DEAD
2025-10-31T08:21:56.516775Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.516887Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.516903Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 76
2025-10-31T08:21:56.517204Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-10-31T08:21:56.517316Z 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]:46582
2025-10-31T08:21:56.517331Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.517340Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.519843Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-31T08:21:56.520040Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.520057Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.520070Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.520091Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.524260Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.536197Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.548162Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677009:2881] connected; active server actors: 1
2025-10-31T08:21:56.550390Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_65
2025-10-31T08:21:56.550433Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.551973Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677009:2881] disconnected; active server actors: 1
2025-10-31T08:21:56.552022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677009:2881] disconnected no session
2025-10-31T08:21:56.564632Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.565934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-31T08:21:56.565981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192676993:2881] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.566028Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 76 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-31T08:21:56.566867Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:56.567225Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-10-31T08:21:56.567729Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 76 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.574854Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 76 sessionId: sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.574894Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 76 sessionId: sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0 grpc read failed
2025-10-31T08:21:56.574926Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 76 sessionId: sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0 grpc closed
2025-10-31T08:21:56.575188Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 76 sessionId: sid_rand_65|f02c390-ea4deb2c-d4b1a361-34bd421b_0 is DEAD
2025-10-31T08:21:56.575264Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.575283Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 77
2025-10-31T08:21:56.575639Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-10-31T08:21:56.575828Z 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]:46582
2025-10-31T08:21:56.575851Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.575859Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.576248Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.577864Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-31T08:21:56.578030Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.578051Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.578065Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.578085Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.581692Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.591963Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.598715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_66
2025-10-31T08:21:56.598750Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.597351Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677042:2885] connected; active server actors: 1
2025-10-31T08:21:56.599747Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677042:2885] disconnected; active server actors: 1
2025-10-31T08:21:56.599765Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677042:2885] disconnected no session
2025-10-31T08:21:56.611968Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.612019Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-31T08:21:56.612044Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677022:2885] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.612083Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 77 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-31T08:21:56.614834Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.615238Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-31T08:21:56.616304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 77 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.618646Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 77 sessionId: sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.618684Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 77 sessionId: sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0 grpc read failed
2025-10-31T08:21:56.618715Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 77 sessionId: sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0 grpc closed
2025-10-31T08:21:56.618734Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 77 sessionId: sid_rand_66|2a804e91-f6e025f5-33c0490-4d3e95c9_0 is DEAD
2025-10-31T08:21:56.619639Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.619762Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.619778Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 78
2025-10-31T08:21:56.621320Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-10-31T08:21:56.621469Z 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]:46582
2025-10-31T08:21:56.621490Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.621502Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.623363Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-31T08:21:56.623534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.623548Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.623561Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.623582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.627177Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.654145Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.658938Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677083:2891] connected; active server actors: 1
2025-10-31T08:21:56.664430Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_67
2025-10-31T08:21:56.664476Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.665211Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677083:2891] disconnected; active server actors: 1
2025-10-31T08:21:56.665251Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677083:2891] disconnected no session
2025-10-31T08:21:56.696960Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.697021Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-31T08:21:56.697049Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677055:2891] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.697089Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 78 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-31T08:21:56.699080Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
2025-10-31T08:21:56.699321Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_67
2025-10-31T08:21:56.699838Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 78 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.703751Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 78 sessionId: sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.703786Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 78 sessionId: sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0 grpc read failed
2025-10-31T08:21:56.703833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 78 sessionId: sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0
2025-10-31T08:21:56.703858Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 78 sessionId: sid_rand_67|e621e925-269bf0a4-fd8b574e-8bb43777_0 is DEAD
2025-10-31T08:21:56.704691Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.704813Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.704831Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 79
2025-10-31T08:21:56.708702Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-10-31T08:21:56.708871Z 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]:46582
2025-10-31T08:21:56.708892Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.708907Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.710793Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-31T08:21:56.710954Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.710969Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.710981Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.711000Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.714803Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.724217Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.725689Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677115:2899] connected; active server actors: 1
2025-10-31T08:21:56.726305Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_68
2025-10-31T08:21:56.726352Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.727671Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677115:2899] disconnected; active server actors: 1
2025-10-31T08:21:56.727711Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677115:2899] disconnected no session
2025-10-31T08:21:56.739219Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.739272Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-31T08:21:56.739296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677096:2899] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.739336Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 79 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-31T08:21:56.741846Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-31T08:21:56.742126Z node 18 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_68
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.742933Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 79 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0
2025-10-31T08:21:56.746057Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 79 sessionId: sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.746082Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 79 sessionId: sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0 grpc read failed
2025-10-31T08:21:56.746111Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 79 sessionId: sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0 grpc closed
2025-10-31T08:21:56.746135Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 79 sessionId: sid_rand_68|3931b4df-3f5a9118-e59c93bc-225faa6d_0 is DEAD
2025-10-31T08:21:56.747031Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.747166Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.747184Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 80
2025-10-31T08:21:56.748473Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-10-31T08:21:56.748622Z 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]:46582
2025-10-31T08:21:56.748645Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.748657Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.750728Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-31T08:21:56.750897Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.750911Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.750925Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.750946Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.755259Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.768704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.782375Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677143:2903] connected; active server actors: 1
2025-10-31T08:21:56.790278Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677143:2903] disconnected; active server actors: 1
2025-10-31T08:21:56.790323Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677143:2903] disconnected no session
2025-10-31T08:21:56.787589Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_69
2025-10-31T08:21:56.787628Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.821704Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.821752Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-31T08:21:56.821778Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677127:2903] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.821818Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 80 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-31T08:21:56.823684Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 17, Generation: 1
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.823914Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-10-31T08:21:56.824397Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 80 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0
2025-10-31T08:21:56.830003Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 80 sessionId: sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.830037Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 80 sessionId: sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0 grpc read failed
2025-10-31T08:21:56.830069Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 80 sessionId: sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0 grpc closed
2025-10-31T08:21:56.830094Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 80 sessionId: sid_rand_69|1ac5283c-6a184f00-e1b1f3c5-cf0b0ea1_0 is DEAD
2025-10-31T08:21:56.831068Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.831182Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.831199Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 81
2025-10-31T08:21:56.832098Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-10-31T08:21:56.832252Z 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]:46582
2025-10-31T08:21:56.832274Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.832286Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.834639Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-31T08:21:56.834807Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.834823Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.834836Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.834856Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.843169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.863014Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.864105Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677186:2909] connected; active server actors: 1
2025-10-31T08:21:56.868424Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_70
2025-10-31T08:21:56.868466Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.872321Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677186:2909] disconnected; active server actors: 1
2025-10-31T08:21:56.872364Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677186:2909] disconnected no session
2025-10-31T08:21:56.887210Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.887264Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-31T08:21:56.887289Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677168:2909] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.887330Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 81 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-31T08:21:56.889419Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:56.889633Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-31T08:21:56.890175Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 81 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.892750Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 81 sessionId: sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.892780Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 81 sessionId: sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0 grpc read failed
2025-10-31T08:21:56.892810Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 81 sessionId: sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0 grpc closed
2025-10-31T08:21:56.892835Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 81 sessionId: sid_rand_70|3f7f03dd-e837141b-d0192324-46a874b7_0 is DEAD
2025-10-31T08:21:56.893700Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.893807Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.893823Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 82
2025-10-31T08:21:56.894666Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-10-31T08:21:56.894804Z 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]:46582
2025-10-31T08:21:56.894822Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.894833Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.897058Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-31T08:21:56.897241Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.897281Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.897296Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.897317Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.902129Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.923200Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:56.926234Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677218:2914] connected; active server actors: 1
2025-10-31T08:21:56.927365Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_71
2025-10-31T08:21:56.927407Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:56.929491Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677218:2914] disconnected; active server actors: 1
2025-10-31T08:21:56.929533Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677218:2914] disconnected no session
2025-10-31T08:21:56.956532Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:56.956582Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-31T08:21:56.956606Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677199:2914] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:56.956656Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 82 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-31T08:21:56.958273Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:56.958574Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-31T08:21:56.959636Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 82 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:56.967336Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 82 sessionId: sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0 grpc read done: success: 0 data: 
2025-10-31T08:21:56.967375Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 82 sessionId: sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0 grpc read failed
2025-10-31T08:21:56.967416Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 82 sessionId: sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0 grpc closed
2025-10-31T08:21:56.967443Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 82 sessionId: sid_rand_71|68c8f6c0-b11dcd24-5ee3e61-37fcadd_0 is DEAD
2025-10-31T08:21:56.968411Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:56.978524Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:56.978559Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 83
2025-10-31T08:21:56.979252Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-10-31T08:21:56.979410Z 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]:46582
2025-10-31T08:21:56.979432Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:56.979445Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:56.981714Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-31T08:21:56.981920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:56.981941Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:56.981955Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:56.981980Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:56.986261Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:56.999098Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:57.001082Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677249:2918] connected; active server actors: 1
2025-10-31T08:21:57.003902Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_72
2025-10-31T08:21:57.003938Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:57.004986Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677249:2918] disconnected; active server actors: 1
2025-10-31T08:21:57.005022Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298226192677249:2918] disconnected no session
2025-10-31T08:21:57.016484Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:57.016534Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-31T08:21:57.016557Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298226192677233:2918] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:57.016623Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 83 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-31T08:21:57.019214Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:57.019346Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-31T08:21:57.020176Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 83 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:57.029077Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:57.029112Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 84
2025-10-31T08:21:57.029295Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 83 sessionId: sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0 grpc read done: success: 0 data: 
2025-10-31T08:21:57.029314Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 83 sessionId: sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0 grpc read failed
2025-10-31T08:21:57.029342Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 83 sessionId: sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0 grpc closed
2025-10-31T08:21:57.029373Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 83 sessionId: sid_rand_72|36994315-1e8de858-e7ac17d8-ae425d19_0 is DEAD
2025-10-31T08:21:57.030245Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:57.031234Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-10-31T08:21:57.031394Z 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]:46582
2025-10-31T08:21:57.031413Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:57.031424Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:57.033304Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-31T08:21:57.033456Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:57.033470Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:57.033482Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:57.033501Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:57.037839Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:57.047527Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:57.048956Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644577:2922] connected; active server actors: 1
2025-10-31T08:21:57.049546Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_73
2025-10-31T08:21:57.049581Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:57.050922Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644577:2922] disconnected; active server actors: 1
2025-10-31T08:21:57.050953Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644577:2922] disconnected no session
2025-10-31T08:21:57.069134Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:57.069184Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-31T08:21:57.069209Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298230487644558:2922] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:57.069251Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 84 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-31T08:21:57.070963Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:57.071182Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-10-31T08:21:57.071670Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 84 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-31T08:21:57.075228Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 84 sessionId: sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0 grpc read done: success: 0 data: 
2025-10-31T08:21:57.075263Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 84 sessionId: sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0 grpc read failed
2025-10-31T08:21:57.075290Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 84 sessionId: sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0 grpc closed
2025-10-31T08:21:57.075315Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 84 sessionId: sid_rand_73|d665e9ba-df03c0b9-8db2744c-4fef176f_0 is DEAD
2025-10-31T08:21:57.076171Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:21:57.076284Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:21:57.076308Z node 17 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 85
2025-10-31T08:21:57.077296Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-10-31T08:21:57.077441Z 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]:46582
2025-10-31T08:21:57.077460Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:46582 proto=v1  topic=topic1 durationSec=0
2025-10-31T08:21:57.077472Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:21:57.079925Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-31T08:21:57.080090Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-31T08:21:57.080114Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-31T08:21:57.080139Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-31T08:21:57.080159Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:111: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-31T08:21:57.086666Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:142: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-31T08:21:57.095319Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:67: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-31T08:21:57.096840Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644606:2926] connected; active server actors: 1
2025-10-31T08:21:57.097419Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__old_chooser_actor.h:80: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_74
2025-10-31T08:21:57.097453Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:174: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-31T08:21:57.098791Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644606:2926] disconnected; active server actors: 1
2025-10-31T08:21:57.098826Z node 18 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037894][rt3.dc1--topic1] pipe [17:7567298230487644606:2926] disconnected no session
2025-10-31T08:21:57.121639Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:183: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-31T08:21:57.121688Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-31T08:21:57.121713Z node 17 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:268: TPartitionChooser [17:7567298230487644590:2926] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-31T08:21:57.121748Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 85 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-31T08:21:57.123806Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 17, Generation: 1
2025-10-31T08:21:57.124064Z node 17 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-31T08:21:57.124599Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 85 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:5
Round robin check: 1:5
Round robin check: 2:5
Round robin check: 3:5
Round robin check: 4:5
Round robin check: 5:5
Round robin check: 6:5
Round robin check: 7:4
Round robin check: 8:4
Round robin check: 9:4
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:6
Round robin check: 13:6
Round robin check: 14:6
2025-10-31T08:21:57.132933Z node 17 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 85 sessionId: sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0 grpc read done: success: 0 data: 
2025-10-31T08:21:57.132977Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 85 sessionId: sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0 grpc read failed
2025-10-31T08:21:57.133009Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 85 sessionId: sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0 grpc closed
2025-10-31T08:21:57.133031Z node 17 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 85 sessionId: sid_rand_74|529fd04d-d6179399-9d8c7d49-2014bbdf_0 is DEAD
2025-10-31T08:21:57.133902Z node 17 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
