2025-12-05T13:13:58.139199Z node 34 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[34:7580361463095212314:2063];send_to=[0:7307199536658146131:7762515];
2025-12-05T13:13:58.139218Z node 34 :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/vw9u/00489a/r3tmp/tmpAG32BE/pdisk_1.dat
2025-12-05T13:13:58.141483Z node 34 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-12-05T13:13:58.141998Z node 34 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: LookupError, path: Root/.metadata/script_executions
2025-12-05T13:13:58.150151Z node 34 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-12-05T13:13:58.150302Z node 34 :CONFIGS_DISPATCHER ERROR: configs_dispatcher.cpp:1233: Notification cookie mismatch for subscription [34:7580361463095212289:2081] 1764940438139061 != 1764940438139064
2025-12-05T13:13:58.151703Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-12-05T13:13:58.151720Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-12-05T13:13:58.152510Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 64569, node 34
2025-12-05T13:13:58.159147Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:190: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/vw9u/00489a/r3tmp/yandexgXyjIv.tmp
2025-12-05T13:13:58.159169Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/vw9u/00489a/r3tmp/yandexgXyjIv.tmp
2025-12-05T13:13:58.159217Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/vw9u/00489a/r3tmp/yandexgXyjIv.tmp
2025-12-05T13:13:58.159236Z node 34 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-12-05T13:13:58.161973Z INFO: TTestServer started on Port 28841 GrpcPort 64569
TClient is connected to server localhost:28841
PQClient connected to localhost:64569
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-12-05T13:13:58.175934Z node 34 :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-12-05T13:13:58.185508Z node 34 :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-12-05T13:13:58.300221Z node 34 :KQP_PROXY WARN: kqp_finalize_script_service.cpp:135: [ScriptExecutions] [TKqpFinalizeScriptService] Failed to check script execution tables existence, scheme status: PathErrorUnknown, path: Root/.metadata/script_executions
2025-12-05T13:13:58.479784Z node 34 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:565: Compilation failed, self: [34:7580361463095213077:2318], 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-12-05T13:13:58.480566Z node 34 :KQP_SESSION WARN: kqp_session_actor.cpp:2417: SessionId: ydb://session/3?node_id=34&id=NzMyYmEzZjgtMjU5MjM5MzktMTJiYTM0Y2EtZDczZjY3YjI=, ActorId: [34:7580361463095213074:2316], ActorState: ExecuteState, TraceId: 01kbqabpyafmagfq6hc61q3679, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-12-05T13:13:58.480714Z node 34 :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-12-05T13:13:58.481609Z node 34 :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-12-05T13:13:58.489629Z node 34 :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-12-05T13:13:58.509006Z node 34 :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-12-05T13:13:58.539423Z node 34 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976715665. Ctx: { TraceId: 01kbqabpzq236ps1hnb2y17fpp, Database: , SessionId: ydb://session/3?node_id=34&id=NWRlM2VmMDEtODEwM2NkOTMtYWRmYjUwZjktNTQzMGMzNw==, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [34:7580361463095213355:2569] 
2025-12-05T13:13:59.141054Z node 34 :TX_CONVEYOR ERROR: log.cpp:841: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-12-05T13:14:03.139315Z node 34 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[34:7580361463095212314:2063];send_to=[0:7307199536658146131:7762515];
2025-12-05T13:14:03.139380Z node 34 :METADATA_PROVIDER ERROR: log.cpp:841: fline=accessor_snapshot_base.cpp:71;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
2025-12-05T13:14:03.764981Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:132: new create topic request
2025-12-05T13:14:03.768372Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][] pipe [34:7580361484570050065:2660] connected; active server actors: 1
2025-12-05T13:14:03.768488Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037893][topic] updating configuration. Deleted partitions []. Added partitions [0]
2025-12-05T13:14:03.768574Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:969: [72075186224037893][topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-12-05T13:14:03.768594Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037893][topic] BALANCER INIT DONE for topic: (0, 72075186224037892) 
2025-12-05T13:14:03.768732Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:14:03.768745Z node 34 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-12-05T13:14:03.768793Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037893][topic] TEvClientConnected TabletId 72075186224037892, NodeId 34, Generation 1
2025-12-05T13:14:03.769730Z node 34 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [34:7580361484570050119:2432]
2025-12-05T13:14:03.769897Z node 34 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][0][StateInit] init complete for topic 'topic' partition 0 generation 1 [34:7580361484570050119:2432]
2025-12-05T13:14:03.770583Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-12-05T13:14:03.771136Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:969: [72075186224037893][topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-12-05T13:14:03.772209Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: try to update token
2025-12-05T13:14:03.772410Z :INFO: [] MessageGroupId [src] SessionId [] Write session: Do CDS request
2025-12-05T13:14:03.772416Z :INFO: [] MessageGroupId [src] SessionId [] Start write session. Will connect to endpoint: localhost:64569
2025-12-05T13:14:03.772752Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: send init request: init_request { topic: "topic" message_group_id: "src" }
2025-12-05T13:14:03.772797Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:14:03.772807Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-12-05T13:14:03.772931Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic" message_group_id: "src" }
2025-12-05T13:14:03.772957Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic" message_group_id: "src" from ipv6:[::1]:50410
2025-12-05T13:14:03.772967Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:50410 proto=v1  topic=topic durationSec=0
2025-12-05T13:14:03.772976Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:14:03.773376Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-12-05T13:14:03.773423Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-12-05T13:14:03.773425Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T13:14:03.773427Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-12-05T13:14:03.773443Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7580361484570050166:2442] (SourceId=src, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-12-05T13:14:03.773449Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:14:03.773570Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-12-05T13:14:03.773616Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie src|bbb19094-957ce700-69ef1ea7-51959840_0 generated for partition 0 topic 'topic' owner src
2025-12-05T13:14:03.773741Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: src|bbb19094-957ce700-69ef1ea7-51959840_0
2025-12-05T13:14:03.773950Z :INFO: [] MessageGroupId [src] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1764940443773 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-05T13:14:03.773974Z :INFO: [] MessageGroupId [src] SessionId [] Write session established. Init response: session_id: "src|bbb19094-957ce700-69ef1ea7-51959840_0" topic: "topic"
2025-12-05T13:14:03.774065Z :INFO: [] MessageGroupId [src] SessionId [src|bbb19094-957ce700-69ef1ea7-51959840_0] Write session: close. Timeout = 0 ms
2025-12-05T13:14:03.774086Z :INFO: [] MessageGroupId [src] SessionId [src|bbb19094-957ce700-69ef1ea7-51959840_0] Write session will now close
2025-12-05T13:14:03.774092Z :DEBUG: [] MessageGroupId [src] SessionId [src|bbb19094-957ce700-69ef1ea7-51959840_0] Write session: aborting
2025-12-05T13:14:03.774212Z :INFO: [] MessageGroupId [src] SessionId [src|bbb19094-957ce700-69ef1ea7-51959840_0] Write session: gracefully shut down, all writes complete
2025-12-05T13:14:03.774217Z :DEBUG: [] MessageGroupId [src] SessionId [src|bbb19094-957ce700-69ef1ea7-51959840_0] Write session: destroy
2025-12-05T13:14:03.774343Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: src|bbb19094-957ce700-69ef1ea7-51959840_0 grpc read done: success: 0 data: 
2025-12-05T13:14:03.774351Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: src|bbb19094-957ce700-69ef1ea7-51959840_0 grpc read failed
2025-12-05T13:14:03.774356Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 1 sessionId: src|bbb19094-957ce700-69ef1ea7-51959840_0 grpc closed
2025-12-05T13:14:03.774359Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: src|bbb19094-957ce700-69ef1ea7-51959840_0 is DEAD
2025-12-05T13:14:03.774515Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:14:03.774987Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:14:03.774996Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-12-05T13:14:03.775112Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { path: "topic" producer_id: "123" message_group_id: "" }
2025-12-05T13:14:03.775143Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 2 path: "topic" producer_id: "123" message_group_id: "" from ipv6:[::1]:34020
2025-12-05T13:14:03.775149Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="topic server" ip=ipv6:[::1]:34020 proto=topic  topic=topic durationSec=0
2025-12-05T13:14:03.775152Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:14:03.775342Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-12-05T13:14:03.775382Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-12-05T13:14:03.775387Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T13:14:03.775389Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-12-05T13:14:03.775397Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7580361484570050174:2449] (SourceId=123, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-12-05T13:14:03.775401Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-12-05T13:14:03.775505Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-12-05T13:14:03.775526Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0 generated for partition 0 topic 'topic' owner 123
2025-12-05T13:14:03.775615Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0
2025-12-05T13:14:03.776334Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:166: new Describe partition request
2025-12-05T13:14:03.776405Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1212: TDescribePartitionActor for request path: "/Root/topic"
include_location: true
2025-12-05T13:14:03.776423Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1222: TDescribePartitionActor[34:7580361484570050180:2451]: Bootstrap
2025-12-05T13:14:03.776684Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:660: DescribeTopicImpl [34:7580361484570050180:2451]: Request location
2025-12-05T13:14:03.776720Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][topic] pipe [34:7580361484570050189:2452] connected; active server actors: 1
2025-12-05T13:14:03.776734Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:824: [72075186224037893][topic] The partition location was added to response: TabletId 72075186224037892, PartitionId 0, NodeId 34, Generation 1
2025-12-05T13:14:03.776740Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:753: DescribeTopicImpl [34:7580361484570050180:2451]: Got location
2025-12-05T13:14:03.776756Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037893][topic] pipe [34:7580361484570050189:2452] disconnected; active server actors: 1
2025-12-05T13:14:03.776764Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037893][topic] pipe [34:7580361484570050189:2452] disconnected no session
2025-12-05T13:14:03.777145Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0 grpc read done: success: 0 data: 
2025-12-05T13:14:03.777151Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0 grpc read failed
2025-12-05T13:14:03.777203Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 2 sessionId: 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0
2025-12-05T13:14:03.777205Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: 123|6fe24f6-3c9dce3c-e68cac2e-692a654f_0 is DEAD
2025-12-05T13:14:03.777263Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:14:03.777440Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-12-05T13:14:03.777448Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-12-05T13:14:03.777536Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { path: "topic" producer_id: "123" partition_with_generation { generation: 1 } }
2025-12-05T13:14:03.777549Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 3 path: "topic" producer_id: "123" partition_with_generation { generation: 1 } from ipv6:[::1]:34020
2025-12-05T13:14:03.777551Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="topic server" ip=ipv6:[::1]:34020 proto=topic  topic=topic durationSec=0
2025-12-05T13:14:03.777551Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-12-05T13:14:03.777557Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:480: session to partition: 0, generation: 1
2025-12-05T13:14:03.777704Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-12-05T13:14:03.777737Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:62: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-12-05T13:14:03.777742Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:63: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-12-05T13:14:03.777745Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__table_helper.h:64: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-12-05T13:14:03.777749Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7580361484570050194:2454] (SourceId=123, PreferedPartition=0) ReplyResult: Partition=0, SeqNo=0
2025-12-05T13:14:03.777752Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: 1
2025-12-05T13:14:03.777839Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-12-05T13:14:03.777871Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|d585706e-604b7e5c-b9211515-70c803b5_0 generated for partition 0 topic 'topic' owner 123
2025-12-05T13:14:03.777949Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 0 MaxSeqNo: 0 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0
2025-12-05T13:14:03.778275Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:14:03.778313Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:14:03.778345Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:264: TPartitionWriter 72075186224037892 (partition=0) Start of a request to KQP for a WriteId. SessionId: ydb://session/3?node_id=34&id=ODcyZTIxNjUtYTdlYTk3ZGItYjMzN2ZkOWEtZGMwMjdhNmY= TxId: 01kbqabw3mdj9pck1y71w25pmt
2025-12-05T13:14:03.778366Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:14:03.778402Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-12-05T13:14:03.778448Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-12-05T13:14:03.778632Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:285: TPartitionWriter 72075186224037892 (partition=0) End of the request to KQP for the WriteId. SessionId: ydb://session/3?node_id=34&id=ODcyZTIxNjUtYTdlYTk3ZGItYjMzN2ZkOWEtZGMwMjdhNmY= TxId: 01kbqabw3mdj9pck1y71w25pmt Status: SUCCESS
2025-12-05T13:14:03.778639Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:302: TPartitionWriter 72075186224037892 (partition=0) SessionId: ydb://session/3?node_id=34&id=ODcyZTIxNjUtYTdlYTk3ZGItYjMzN2ZkOWEtZGMwMjdhNmY= TxId: 01kbqabw3mdj9pck1y71w25pmt WriteId: {34, 281474976715672}
2025-12-05T13:14:03.779066Z node 34 :PERSQUEUE INFO: partition_init.cpp:1142: [72075186224037892][Partition][{0, {34, 281474976715672}, 100000}][StateInit] bootstrapping {0, {34, 281474976715672}, 100000} [34:7580361484570050206:2432]
2025-12-05T13:14:03.779403Z node 34 :PERSQUEUE INFO: partition_init.cpp:1009: [topic:{0, {34, 281474976715672}, 100000}:TInitEndWriteTimestampStep] Initializing EndWriteTimestamp skipped because already initialized.
2025-12-05T13:14:03.779408Z node 34 :PERSQUEUE INFO: partition.cpp:692: [72075186224037892][Partition][{0, {34, 281474976715672}, 100000}][StateInit] init complete for topic 'topic' partition {0, {34, 281474976715672}, 100000} generation 1 [34:7580361484570050206:2432]
2025-12-05T13:14:03.779464Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|5b62e3d8-66d9944e-1921a3d4-3736c27a_0 generated for partition {0, {34, 281474976715672}, 100000} topic 'topic' owner 123
2025-12-05T13:14:03.779492Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:424: TPartitionWriter 72075186224037892 (partition=0) Start of a request to KQP to save PartitionId. SessionId: ydb://session/3?node_id=34&id=ODcyZTIxNjUtYTdlYTk3ZGItYjMzN2ZkOWEtZGMwMjdhNmY= TxId: 01kbqabw3mdj9pck1y71w25pmt
2025-12-05T13:14:03.779550Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:434: TPartitionWriter 72075186224037892 (partition=0) End of a request to KQP to save PartitionId. SessionId: ydb://session/3?node_id=34&id=ODcyZTIxNjUtYTdlYTk3ZGItYjMzN2ZkOWEtZGMwMjdhNmY= TxId: 01kbqabw3mdj9pck1y71w25pmt Status: SUCCESS
2025-12-05T13:14:03.779668Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.779679Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.779683Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.779688Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.783023Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.783390Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.783399Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.783401Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-12-05T13:14:03.879037Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read done: success: 0 data: 
2025-12-05T13:14:03.879067Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc read failed
2025-12-05T13:14:03.879080Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 grpc closed
2025-12-05T13:14:03.879085Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: 123|d585706e-604b7e5c-b9211515-70c803b5_0 is DEAD
2025-12-05T13:14:03.879376Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:14:03.879386Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-12-05T13:14:03.882516Z node 34 :PQ_TX WARN: pq_impl.cpp:4187: [PQ: 72075186224037892] Unknown transaction 281474976715673
2025-12-05T13:14:03.882584Z node 34 :PQ_TX WARN: pq_impl.cpp:5064: [PQ: 72075186224037892] unknown WriteId {34, 281474976715672}
Counters: ================================ 
<pre>name=api.grpc.topic.stream_write.bytes: 20796
name=api.grpc.topic.stream_write.messages: 4
name=topic.partition.blobs.compaction_lag_milliseconds_max: 0
name=topic.partition.blobs.uncompacted_bytes_max: 0
name=topic.partition.blobs.uncompacted_count_max: 0
name=topic.write.bytes: 20796
name=topic.write.discarded_bytes: 0
name=topic.write.discarded_messages: 0
name=topic.write.messages: 4
name=topic.write.uncompressed_bytes: 16
name=topic.write.lag_milliseconds:
    bin=100: 0
    bin=1000: 0
    bin=10000: 0
    bin=180000: 0
    bin=200: 0
    bin=2000: 3
    bin=30000: 0
    bin=500: 0
    bin=5000: 1
    bin=60000: 0
    bin=999999: 0
name=topic.write.message_size_bytes:
    bin=1024: 1
    bin=10240: 2
    bin=102400: 0
    bin=1048576: 0
    bin=10485760: 0
    bin=20480: 1
    bin=204800: 0
    bin=2097152: 0
    bin=5120: 0
    bin=51200: 0
    bin=524288: 0
    bin=5242880: 0
    bin=67108864: 0
    bin=99999999: 0
name=topic.write.partition_throttled_milliseconds:
    bin=0: 4
    bin=1: 0
    bin=10: 0
    bin=100: 0
    bin=1000: 0
    bin=10000: 0
    bin=20: 0
    bin=2500: 0
    bin=5: 0
    bin=50: 0
    bin=500: 0
    bin=5000: 0
    bin=999999: 0
</pre>
