2025-10-17T12:17:03.848338Z node 34 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[34:7562163623378404647:2069];send_to=[0:7307199536658146131:7762515];
2025-10-17T12:17:03.848556Z 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/yqbv/001ef8/r3tmp/tmpOOrVnJ/pdisk_1.dat
2025-10-17T12:17:03.929039Z node 34 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-17T12:17:04.171418Z 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-10-17T12:17:04.188060Z node 34 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-17T12:17:04.196571Z node 34 :CONFIGS_DISPATCHER ERROR: configs_dispatcher.cpp:1229: Notification cookie mismatch for subscription [34:7562163623378404609:2081] 1760703423841387 != 1760703423841390
2025-10-17T12:17:04.219763Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-17T12:17:04.219970Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-17T12:17:04.229541Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 3341, node 34
2025-10-17T12:17:04.390818Z 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-10-17T12:17:04.400930Z 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/yqbv/001ef8/r3tmp/yandexEUW7JO.tmp
2025-10-17T12:17:04.400976Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/yqbv/001ef8/r3tmp/yandexEUW7JO.tmp
2025-10-17T12:17:04.401245Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/yqbv/001ef8/r3tmp/yandexEUW7JO.tmp
2025-10-17T12:17:04.401523Z node 34 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-17T12:17:04.541394Z INFO: TTestServer started on Port 24315 GrpcPort 3341
2025-10-17T12:17:04.919920Z node 34 :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:24315
PQClient connected to localhost:3341
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-17T12:17:05.241359Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_alter_subdomain.cpp:311)
waiting...
2025-10-17T12:17:05.257356Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976710657, at schemeshard: 72057594046644480
waiting...
2025-10-17T12:17:05.294493Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710659:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
waiting...
waiting...
waiting...
2025-10-17T12:17:08.851989Z node 34 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[34:7562163623378404647:2069];send_to=[0:7307199536658146131:7762515];
2025-10-17T12:17:08.852109Z 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;
2025-10-17T12:17:13.298678Z node 34 :KQP_PROXY ERROR: kqp_proxy_service.cpp:1316: TraceId: "01k7s1mazpde3xy6dxfxyjsf4m", Request deadline has expired for 2.784964s seconds
2025-10-17T12:17:13.429608Z node 34 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:566: Compilation failed, self: [34:7562163666328078411:2333], 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-17T12:17:13.432263Z node 34 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=34&id=YzNiZDQxNDktYjYyYzcxNTItOGQzMzVlNTktNmZiN2RiY2U=, ActorId: [34:7562163666328078409:2332], ActorState: ExecuteState, TraceId: 01k7s1mjjj2k251xjff6hcmq4p, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-17T12:17:13.432911Z 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-10-17T12:17:13.578482Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-17T12:17:13.682396Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
2025-10-17T12:17:13.933231Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__operation.cpp:183: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710664:0, at schemeshard:  72057594046644480, first GetDB called at:  (GetDB first called at /home/runner/actions_runner/_work/ydb/ydb/ydb/core/tx/schemeshard/schemeshard__operation_create_table.cpp:684)
=== 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-17T12:17:14.927315Z node 34 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01k7s1mkd03cb5zs6zrknqdp24, Database: , SessionId: ydb://session/3?node_id=34&id=NmVjMjI2MTktMzMwNjIxMDktNmFhY2I5N2YtZjdhZjJlNzk=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [34:7562163670623046013:2613] 
2025-10-17T12:17:19.062299Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7712: Cannot get console configs
2025-10-17T12:17:19.062341Z node 34 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
=== CheckClustersList. Ok
2025-10-17T12:17:22.802368Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:132: new create topic request
2025-10-17T12:17:22.893815Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][] pipe [34:7562163704982784560:2690] connected; active server actors: 1
2025-10-17T12:17:22.894236Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037893][topic] updating configuration. Deleted partitions []. Added partitions [0]
2025-10-17T12:17:22.897561Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-17T12:17:22.897653Z node 34 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-17T12:17:22.897957Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:940: [72075186224037893][topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-17T12:17:22.898113Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037893][topic] BALANCER INIT DONE for topic: (0, 72075186224037892) 
2025-10-17T12:17:22.910767Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037893][topic] TEvClientConnected TabletId 72075186224037892, NodeId 34, Generation 1
2025-10-17T12:17:22.923355Z node 34 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [34:7562163704982784624:2442]
2025-10-17T12:17:22.926823Z node 34 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][0][StateInit] init complete for topic 'topic' partition 0 generation 1 [34:7562163704982784624:2442]
2025-10-17T12:17:22.934973Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:911: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-17T12:17:22.942001Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:940: [72075186224037893][topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-17T12:17:22.992530Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: try to update token
2025-10-17T12:17:22.993122Z :INFO: [] MessageGroupId [src] SessionId [] Write session: Do CDS request
2025-10-17T12:17:22.993204Z :INFO: [] MessageGroupId [src] SessionId [] Start write session. Will connect to endpoint: localhost:3341
2025-10-17T12:17:23.029874Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: send init request: init_request { topic: "topic" message_group_id: "src" }
2025-10-17T12:17:23.029569Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-17T12:17:23.029629Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-17T12:17:23.030636Z 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-10-17T12:17:23.030833Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic" message_group_id: "src" from ipv6:[::1]:53576
2025-10-17T12:17:23.030871Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53576 proto=v1  topic=topic durationSec=0
2025-10-17T12:17:23.030886Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-17T12:17:23.069769Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-17T12:17:23.070160Z 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-10-17T12:17:23.070189Z 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-10-17T12:17:23.070223Z 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-10-17T12:17:23.081955Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7562163709277751970:2454] (SourceId=src, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-17T12:17:23.082112Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-17T12:17:23.083477Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-17T12:17:23.083850Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie src|6d621f4d-63a948f9-9d251f23-6c466982_0 generated for partition 0 topic 'topic' owner src
2025-10-17T12:17:23.084773Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: src|6d621f4d-63a948f9-9d251f23-6c466982_0
2025-10-17T12:17:23.092148Z :INFO: [] MessageGroupId [src] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1760703443092 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-17T12:17:23.092350Z :INFO: [] MessageGroupId [src] SessionId [] Write session established. Init response: session_id: "src|6d621f4d-63a948f9-9d251f23-6c466982_0" topic: "topic"
2025-10-17T12:17:23.095821Z :INFO: [] MessageGroupId [src] SessionId [src|6d621f4d-63a948f9-9d251f23-6c466982_0] Write session: close. Timeout = 0 ms
2025-10-17T12:17:23.095944Z :INFO: [] MessageGroupId [src] SessionId [src|6d621f4d-63a948f9-9d251f23-6c466982_0] Write session will now close
2025-10-17T12:17:23.096049Z :DEBUG: [] MessageGroupId [src] SessionId [src|6d621f4d-63a948f9-9d251f23-6c466982_0] Write session: aborting
2025-10-17T12:17:23.096887Z :INFO: [] MessageGroupId [src] SessionId [src|6d621f4d-63a948f9-9d251f23-6c466982_0] Write session: gracefully shut down, all writes complete
2025-10-17T12:17:23.096995Z :DEBUG: [] MessageGroupId [src] SessionId [src|6d621f4d-63a948f9-9d251f23-6c466982_0] Write session: destroy
2025-10-17T12:17:23.102191Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: src|6d621f4d-63a948f9-9d251f23-6c466982_0 grpc read done: success: 0 data: 
2025-10-17T12:17:23.102236Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: src|6d621f4d-63a948f9-9d251f23-6c466982_0 grpc read failed
2025-10-17T12:17:23.102311Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 1 sessionId: src|6d621f4d-63a948f9-9d251f23-6c466982_0 grpc closed
2025-10-17T12:17:23.102344Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: src|6d621f4d-63a948f9-9d251f23-6c466982_0 is DEAD
2025-10-17T12:17:23.103675Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-17T12:17:23.135059Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-17T12:17:23.135109Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-17T12:17:23.156299Z 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-10-17T12:17:23.156619Z 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]:53582
2025-10-17T12:17:23.156659Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="topic server" ip=ipv6:[::1]:53582 proto=topic  topic=topic durationSec=0
2025-10-17T12:17:23.156678Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-17T12:17:23.159876Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-17T12:17:23.160262Z 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-10-17T12:17:23.160289Z 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-10-17T12:17:23.160312Z 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-10-17T12:17:23.160346Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7562163709277751978:2461] (SourceId=123, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-17T12:17:23.160397Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-17T12:17:23.166934Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-17T12:17:23.167308Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0 generated for partition 0 topic 'topic' owner 123
2025-10-17T12:17:23.168473Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0
2025-10-17T12:17:23.198649Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:166: new Describe partition request
2025-10-17T12:17:23.224568Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1212: TDescribePartitionActor for request path: "/Root/topic"
include_location: true
2025-10-17T12:17:23.224767Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1222: TDescribePartitionActor[34:7562163709277751984:2463]: Bootstrap
2025-10-17T12:17:23.229164Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:660: DescribeTopicImpl [34:7562163709277751984:2463]: Request location
2025-10-17T12:17:23.229818Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][topic] pipe [34:7562163709277751993:2464] connected; active server actors: 1
2025-10-17T12:17:23.230034Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:795: [72075186224037893][topic] The partition location was added to response: TabletId 72075186224037892, PartitionId 0, NodeId 34, Generation 1
2025-10-17T12:17:23.230097Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:753: DescribeTopicImpl [34:7562163709277751984:2463]: Got location
2025-10-17T12:17:23.231055Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037893][topic] pipe [34:7562163709277751993:2464] disconnected; active server actors: 1
2025-10-17T12:17:23.231091Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037893][topic] pipe [34:7562163709277751993:2464] disconnected no session
2025-10-17T12:17:23.234141Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0 grpc read done: success: 0 data: 
2025-10-17T12:17:23.234179Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0 grpc read failed
2025-10-17T12:17:23.234233Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 2 sessionId: 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0 grpc closed
2025-10-17T12:17:23.234258Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: 123|f870be85-f4be41ab-5d24bbb1-ccb673df_0 is DEAD
2025-10-17T12:17:23.235507Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-17T12:17:23.241213Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-17T12:17:23.241255Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-17T12:17:23.252116Z 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-10-17T12:17:23.252378Z 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]:53582
2025-10-17T12:17:23.252422Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="topic server" ip=ipv6:[::1]:53582 proto=topic  topic=topic durationSec=0
2025-10-17T12:17:23.252441Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-17T12:17:23.252493Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:480: session to partition: 0, generation: 1
2025-10-17T12:17:23.257149Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-17T12:17:23.257455Z 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-10-17T12:17:23.257488Z 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-10-17T12:17:23.257510Z 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-10-17T12:17:23.257535Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7562163709277751998:2466] (SourceId=123, PreferedPartition=0) ReplyResult: Partition=0, SeqNo=0
2025-10-17T12:17:23.257558Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: 1
2025-10-17T12:17:23.264066Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-17T12:17:23.267947Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 generated for partition 0 topic 'topic' owner 123
2025-10-17T12:17:23.268817Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 0 MaxSeqNo: 0 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0
2025-10-17T12:17:23.274872Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-17T12:17:23.275356Z 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=YTJjYzBiZGYtZjdhNThiZjktZDNkYmNlMDQtNjI2ZjA0Mg== TxId: 01k7s1mvtv0hdd67eghcywt0xm
2025-10-17T12:17:23.300200Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-17T12:17:23.304119Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-17T12:17:23.304842Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-17T12:17:23.311825Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-17T12:17:23.326429Z 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=YTJjYzBiZGYtZjdhNThiZjktZDNkYmNlMDQtNjI2ZjA0Mg== TxId: 01k7s1mvtv0hdd67eghcywt0xm Status: SUCCESS
2025-10-17T12:17:23.326521Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:302: TPartitionWriter 72075186224037892 (partition=0) SessionId: ydb://session/3?node_id=34&id=YTJjYzBiZGYtZjdhNThiZjktZDNkYmNlMDQtNjI2ZjA0Mg== TxId: 01k7s1mvtv0hdd67eghcywt0xm WriteId: {34, 281474976710671}
2025-10-17T12:17:23.333581Z node 34 :PERSQUEUE INFO: partition_init.cpp:1095: [72075186224037892][Partition][{0, {34, 281474976710671}, 100000}][StateInit] bootstrapping {0, {34, 281474976710671}, 100000} [34:7562163709277752010:2442]
2025-10-17T12:17:23.348555Z node 34 :PERSQUEUE INFO: partition_init.cpp:968: [topic:{0, {34, 281474976710671}, 100000}:TInitEndWriteTimestampStep] Initializing EndWriteTimestamp skipped because already initialized.
2025-10-17T12:17:23.348637Z node 34 :PERSQUEUE INFO: partition.cpp:697: [72075186224037892][Partition][{0, {34, 281474976710671}, 100000}][StateInit] init complete for topic 'topic' partition {0, {34, 281474976710671}, 100000} generation 1 [34:7562163709277752010:2442]
2025-10-17T12:17:23.349389Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|6a8abd88-915ba23c-cb6b9fc0-3abcfff_0 generated for partition {0, {34, 281474976710671}, 100000} topic 'topic' owner 123
2025-10-17T12:17:23.349702Z 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=YTJjYzBiZGYtZjdhNThiZjktZDNkYmNlMDQtNjI2ZjA0Mg== TxId: 01k7s1mvtv0hdd67eghcywt0xm
2025-10-17T12:17:23.350623Z 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=YTJjYzBiZGYtZjdhNThiZjktZDNkYmNlMDQtNjI2ZjA0Mg== TxId: 01k7s1mvtv0hdd67eghcywt0xm Status: SUCCESS
2025-10-17T12:17:23.351965Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.352080Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.352130Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.352167Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.492337Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.495239Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.495287Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.495313Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-17T12:17:23.582279Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read done: success: 0 data: 
2025-10-17T12:17:23.582317Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc read failed
2025-10-17T12:17:23.582363Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 grpc closed
2025-10-17T12:17:23.582383Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: 123|9a073cb0-ea83123f-8f9f5efc-526a7a1c_0 is DEAD
2025-10-17T12:17:23.583617Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-17T12:17:23.583679Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-17T12:17:23.622074Z node 34 :PQ_TX WARN: pq_impl.cpp:4188: [PQ: 72075186224037892] Unknown transaction 281474976710672
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: 20958
name=topic.partition.blobs.uncompacted_count_max: 2
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>
