2025-10-31T08:26:22.643382Z node 34 :METADATA_PROVIDER WARN: log.cpp:841: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[34:7567299367154489460:2075];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:26:22.684861Z 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/7ydd/001097/r3tmp/tmpOr2Z3e/pdisk_1.dat
2025-10-31T08:26:22.725850Z node 34 :PQ_READ_PROXY DEBUG: caching_service.cpp:44: Direct read cache: : Created
2025-10-31T08:26:22.732034Z 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-31T08:26:22.910988Z node 34 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
2025-10-31T08:26:22.966477Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-31T08:26:22.966631Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-31T08:26:22.977120Z node 34 :HIVE WARN: node_info.cpp:25: HIVE#72057594037968897 Node(34, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 7066, node 34
2025-10-31T08:26:23.044074Z 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-31T08:26:23.157394Z 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/7ydd/001097/r3tmp/yandexBf5AXP.tmp
2025-10-31T08:26:23.157443Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:196: will try to initialize from file: /home/runner/.ya/build/build_root/7ydd/001097/r3tmp/yandexBf5AXP.tmp
2025-10-31T08:26:23.157681Z node 34 :NET_CLASSIFIER WARN: net_classifier.cpp:202: successfully initialized from file: /home/runner/.ya/build/build_root/7ydd/001097/r3tmp/yandexBf5AXP.tmp
2025-10-31T08:26:23.157955Z node 34 :NET_CLASSIFIER ERROR: net_classifier.cpp:228: got bad distributable configuration
2025-10-31T08:26:23.231465Z INFO: TTestServer started on Port 8244 GrpcPort 7066
2025-10-31T08:26:23.684141Z 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:8244
PQClient connected to localhost:7066
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:26:23.818459Z 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-31T08:26:23.836993Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976710657, at schemeshard: 72057594046644480
waiting...
2025-10-31T08:26:23.868832Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976710658, at schemeshard: 72057594046644480
2025-10-31T08:26:23.886126Z 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:690)
waiting...
waiting...
2025-10-31T08:26:24.004529Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976710660, at schemeshard: 72057594046644480
waiting...
2025-10-31T08:26:24.033198Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard__notify.cpp:122: NotifyTxCompletion, unknown transaction, txId: 281474976710661, at schemeshard: 72057594046644480
2025-10-31T08:26:27.648161Z node 34 :METADATA_PROVIDER ERROR: log.cpp:841: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[34:7567299367154489460:2075];send_to=[0:7307199536658146131:7762515];
2025-10-31T08:26:27.648347Z 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-31T08:26:31.300171Z node 34 :KQP_PROXY ERROR: kqp_proxy_service.cpp:1316: TraceId: "01k8wnzzyy67w5mq2qh8ek8w37", Request deadline has expired for 2.218229s seconds
2025-10-31T08:26:31.393650Z node 34 :KQP_COMPILE_ACTOR ERROR: kqp_compile_actor.cpp:566: Compilation failed, self: [34:7567299405809195920:2332], 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:26:31.398228Z node 34 :KQP_SESSION WARN: kqp_session_actor.cpp:2408: SessionId: ydb://session/3?node_id=34&id=YmExZjdiZWEtYWNhZmQ3ODItNzUyMjNhMjktYmQyZDk5NTQ=, ActorId: [34:7567299405809195917:2330], ActorState: ExecuteState, TraceId: 01k8wp070b9gzw2z4bs7r53ym8, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-31T08:26:31.398833Z 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-31T08:26:31.451384Z 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:690)
2025-10-31T08:26:31.536438Z 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:690)
2025-10-31T08:26:31.789417Z 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: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:26:32.488069Z node 34 :KQP_EXECUTER ERROR: kqp_planner.cpp:123: TxId: 281474976710665. Ctx: { TraceId: 01k8wp07p03xrxysmp27jf2h1m, Database: , SessionId: ydb://session/3?node_id=34&id=NmI2YzY4ZDgtNzNkMWRhOWItMWRmM2EzNmMtMWRiN2M2MGI=, PoolId: , DatabaseId: /Root}. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [34:7567299410104163515:2604] 
2025-10-31T08:26:37.860795Z node 34 :FLAT_TX_SCHEMESHARD WARN: schemeshard_impl.cpp:7717: Cannot get console configs
2025-10-31T08:26:37.860841Z node 34 :IMPORT WARN: schemeshard_import.cpp:307: Table profiles were not loaded
=== CheckClustersList. Ok
2025-10-31T08:26:38.815322Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:133: new create topic request
2025-10-31T08:26:38.848781Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:26:38.848860Z node 34 :PERSQUEUE INFO: pq_impl.cpp:612: [PQ: 72075186224037892] doesn't have tx writes info
2025-10-31T08:26:38.852696Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][] pipe [34:7567299435873967518:2701] connected; active server actors: 1
2025-10-31T08:26:38.853082Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer__balancing.cpp:1517: [72075186224037893][topic] updating configuration. Deleted partitions []. Added partitions [0]
2025-10-31T08:26:38.854878Z 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-10-31T08:26:38.855024Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:138: [72075186224037893][topic] BALANCER INIT DONE for topic: (0, 72075186224037892) 
2025-10-31T08:26:38.861041Z node 34 :PERSQUEUE_READ_BALANCER DEBUG: read_balancer.cpp:402: [72075186224037893][topic] TEvClientConnected TabletId 72075186224037892, NodeId 34, Generation 1
2025-10-31T08:26:38.863909Z node 34 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][0][StateInit] bootstrapping 0 [34:7567299435873967544:2446]
2025-10-31T08:26:38.865214Z node 34 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][0][StateInit] init complete for topic 'topic' partition 0 generation 1 [34:7567299435873967544:2446]
2025-10-31T08:26:38.873136Z node 34 :PERSQUEUE NOTICE: pq_impl.cpp:913: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-31T08:26:38.879313Z 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-10-31T08:26:38.916808Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: try to update token
2025-10-31T08:26:38.917714Z :INFO: [] MessageGroupId [src] SessionId [] Write session: Do CDS request
2025-10-31T08:26:38.917943Z :INFO: [] MessageGroupId [src] SessionId [] Start write session. Will connect to endpoint: localhost:7066
2025-10-31T08:26:38.940905Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: send init request: init_request { topic: "topic" message_group_id: "src" }
2025-10-31T08:26:38.941696Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:26:38.941745Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 1
2025-10-31T08:26:38.942299Z 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-31T08:26:38.942512Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:447: session request cookie: 1 topic: "topic" message_group_id: "src" from ipv6:[::1]:49930
2025-10-31T08:26:38.942555Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:49930 proto=v1  topic=topic durationSec=0
2025-10-31T08:26:38.942572Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:26:38.950934Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-31T08:26:38.951269Z 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-31T08:26:38.951308Z 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-31T08:26:38.951334Z 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-31T08:26:38.951410Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7567299435873967592:2457] (SourceId=src, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-31T08:26:38.951464Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:26:38.953066Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-31T08:26:38.953328Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie src|3b24eacc-817631bd-c92454d-4e49b58_0 generated for partition 0 topic 'topic' owner src
2025-10-31T08:26:38.954673Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: src|3b24eacc-817631bd-c92454d-4e49b58_0
2025-10-31T08:26:38.957140Z :INFO: [] MessageGroupId [src] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761899198957 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-31T08:26:38.957333Z :INFO: [] MessageGroupId [src] SessionId [] Write session established. Init response: session_id: "src|3b24eacc-817631bd-c92454d-4e49b58_0" topic: "topic"
2025-10-31T08:26:38.957686Z :INFO: [] MessageGroupId [src] SessionId [src|3b24eacc-817631bd-c92454d-4e49b58_0] Write session: close. Timeout = 0 ms
2025-10-31T08:26:38.957786Z :INFO: [] MessageGroupId [src] SessionId [src|3b24eacc-817631bd-c92454d-4e49b58_0] Write session will now close
2025-10-31T08:26:38.957885Z :DEBUG: [] MessageGroupId [src] SessionId [src|3b24eacc-817631bd-c92454d-4e49b58_0] Write session: aborting
2025-10-31T08:26:38.958613Z :INFO: [] MessageGroupId [src] SessionId [src|3b24eacc-817631bd-c92454d-4e49b58_0] Write session: gracefully shut down, all writes complete
2025-10-31T08:26:38.958695Z :DEBUG: [] MessageGroupId [src] SessionId [src|3b24eacc-817631bd-c92454d-4e49b58_0] Write session: destroy
2025-10-31T08:26:38.960991Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 1 sessionId: src|3b24eacc-817631bd-c92454d-4e49b58_0 grpc read done: success: 0 data: 
2025-10-31T08:26:38.961038Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 1 sessionId: src|3b24eacc-817631bd-c92454d-4e49b58_0 grpc read failed
2025-10-31T08:26:38.961719Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 1 sessionId: src|3b24eacc-817631bd-c92454d-4e49b58_0
2025-10-31T08:26:38.961752Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 1 sessionId: src|3b24eacc-817631bd-c92454d-4e49b58_0 is DEAD
2025-10-31T08:26:38.962351Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:26:38.982289Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:26:38.982333Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 2
2025-10-31T08:26:38.983000Z 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-31T08:26:38.983260Z 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]:49932
2025-10-31T08:26:38.983303Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=2 sessionId= userAgent="topic server" ip=ipv6:[::1]:49932 proto=topic  topic=topic durationSec=0
2025-10-31T08:26:38.983323Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:26:38.985307Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-31T08:26:38.985674Z 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-31T08:26:38.985736Z 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-31T08:26:38.985768Z 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-31T08:26:38.985801Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7567299435873967601:2464] (SourceId=123, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-10-31T08:26:38.985848Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-31T08:26:38.986962Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-31T08:26:38.987231Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0 generated for partition 0 topic 'topic' owner 123
2025-10-31T08:26:38.988010Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0
2025-10-31T08:26:38.999247Z node 34 :PQ_READ_PROXY DEBUG: grpc_pq_schema.cpp:167: new Describe partition request
2025-10-31T08:26:38.999509Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1212: TDescribePartitionActor for request path: "/Root/topic"
include_location: true
2025-10-31T08:26:38.999628Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:1222: TDescribePartitionActor[34:7567299435873967607:2466]: Bootstrap
2025-10-31T08:26:39.002890Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:660: DescribeTopicImpl [34:7567299435873967607:2466]: Request location
2025-10-31T08:26:39.003579Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1653: [72075186224037893][topic] pipe [34:7567299440168934912:2467] connected; active server actors: 1
2025-10-31T08:26:39.003821Z 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-10-31T08:26:39.003899Z node 34 :PQ_READ_PROXY DEBUG: schema_actors.cpp:753: DescribeTopicImpl [34:7567299435873967607:2466]: Got location
2025-10-31T08:26:39.005151Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1665: [72075186224037893][topic] pipe [34:7567299440168934912:2467] disconnected; active server actors: 1
2025-10-31T08:26:39.005200Z node 34 :PERSQUEUE_READ_BALANCER INFO: read_balancer__balancing.cpp:1689: [72075186224037893][topic] pipe [34:7567299440168934912:2467] disconnected no session
2025-10-31T08:26:39.014097Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 2 sessionId: 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0 grpc read done: success: 0 data: 
2025-10-31T08:26:39.014129Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 2 sessionId: 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0 grpc read failed
2025-10-31T08:26:39.014180Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:232: session v1 cookie: 2 sessionId: 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0 grpc closed
2025-10-31T08:26:39.014206Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 2 sessionId: 123|4cf47185-229e3b72-75c451f8-b48cfcc8_0 is DEAD
2025-10-31T08:26:39.015488Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:26:39.015779Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:107: new grpc connection
2025-10-31T08:26:39.015802Z node 34 :PQ_WRITE_PROXY DEBUG: grpc_pq_write.h:141: new session created cookie 3
2025-10-31T08:26:39.017226Z 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-31T08:26:39.017416Z 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]:49932
2025-10-31T08:26:39.017446Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:1538: write session:  cookie=3 sessionId= userAgent="topic server" ip=ipv6:[::1]:49932 proto=topic  topic=topic durationSec=0
2025-10-31T08:26:39.017467Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:571: init check schema
2025-10-31T08:26:39.017511Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:480: session to partition: 0, generation: 1
2025-10-31T08:26:39.019292Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:632: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-31T08:26:39.019547Z 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-31T08:26:39.019575Z 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-31T08:26:39.019602Z 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-31T08:26:39.019625Z node 34 :PQ_PARTITION_CHOOSER DEBUG: partition_chooser_impl__abstract_chooser_actor.h:305: TPartitionChooser [34:7567299440168934917:2469] (SourceId=123, PreferedPartition=0) ReplyResult: Partition=0, SeqNo=0
2025-10-31T08:26:39.019646Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:694: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: 1
2025-10-31T08:26:39.020706Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-31T08:26:39.021030Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 generated for partition 0 topic 'topic' owner 123
2025-10-31T08:26:39.021709Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:871: session inited cookie: 3 partition: 0 MaxSeqNo: 0 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0
2025-10-31T08:26:39.029326Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:26:39.029754Z 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=ZGE4MTU0ODAtZmIxYmMzYzItODVmMzkwMmQtZDRlMGQyMmU= TxId: 01k8wp0eaj7mzx5yavj0havdws
2025-10-31T08:26:39.031983Z 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=ZGE4MTU0ODAtZmIxYmMzYzItODVmMzkwMmQtZDRlMGQyMmU= TxId: 01k8wp0eaj7mzx5yavj0havdws Status: SUCCESS
2025-10-31T08:26:39.032056Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:302: TPartitionWriter 72075186224037892 (partition=0) SessionId: ydb://session/3?node_id=34&id=ZGE4MTU0ODAtZmIxYmMzYzItODVmMzkwMmQtZDRlMGQyMmU= TxId: 01k8wp0eaj7mzx5yavj0havdws WriteId: {34, 281474976710671}
2025-10-31T08:26:39.032158Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:822: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 34, Generation: 1
2025-10-31T08:26:39.034108Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:26:39.036884Z node 34 :PERSQUEUE INFO: partition_init.cpp:1101: [72075186224037892][Partition][{0, {34, 281474976710671}, 100000}][StateInit] bootstrapping {0, {34, 281474976710671}, 100000} [34:7567299440168934929:2446]
2025-10-31T08:26:39.038923Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:26:39.039550Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-31T08:26:39.041163Z node 34 :PERSQUEUE INFO: partition_init.cpp:968: [topic:{0, {34, 281474976710671}, 100000}:TInitEndWriteTimestampStep] Initializing EndWriteTimestamp skipped because already initialized.
2025-10-31T08:26:39.041212Z node 34 :PERSQUEUE INFO: partition.cpp:696: [72075186224037892][Partition][{0, {34, 281474976710671}, 100000}][StateInit] init complete for topic 'topic' partition {0, {34, 281474976710671}, 100000} generation 1 [34:7567299440168934929:2446]
2025-10-31T08:26:39.041994Z node 34 :PERSQUEUE INFO: ownerinfo.cpp:30: new Cookie 123|7d8b80ee-159bab4-624fbe91-637ac93a_0 generated for partition {0, {34, 281474976710671}, 100000} topic 'topic' owner 123
2025-10-31T08:26:39.042266Z 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=ZGE4MTU0ODAtZmIxYmMzYzItODVmMzkwMmQtZDRlMGQyMmU= TxId: 01k8wp0eaj7mzx5yavj0havdws
2025-10-31T08:26:39.043050Z 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=ZGE4MTU0ODAtZmIxYmMzYzItODVmMzkwMmQtZDRlMGQyMmU= TxId: 01k8wp0eaj7mzx5yavj0havdws Status: SUCCESS
2025-10-31T08:26:39.045162Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.045234Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.045262Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.045290Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.131801Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.135020Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.135074Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.135121Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-31T08:26:39.234565Z node 34 :PQ_WRITE_PROXY DEBUG: write_session_actor.cpp:254: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read done: success: 0 data: 
2025-10-31T08:26:39.234597Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:256: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 grpc read failed
2025-10-31T08:26:39.235366Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:824: session v1 closed cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0
2025-10-31T08:26:39.235417Z node 34 :PQ_WRITE_PROXY INFO: write_session_actor.cpp:304: session v1 cookie: 3 sessionId: 123|3dfff436-c721099d-b2dfde7b-39c07ec3_0 is DEAD
2025-10-31T08:26:39.236010Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:26:39.236071Z node 34 :PQ_WRITE_PROXY DEBUG: writer.cpp:562: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-31T08:26:39.258657Z node 34 :PQ_TX WARN: pq_impl.cpp:4190: [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: 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>
