2025-10-26T18:08:11.394882Z node 17 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[17:7565593873654902212:8301];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:08:11.394978Z node 17 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-26T18:08:11.413079Z node 18 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[18:7565593873785509290:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:08:11.414175Z node 18 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-26T18:08:11.467597Z node 17 :PQ_READ_PROXY DEBUG: Direct read cache created
2025-10-26T18:08:11.468091Z node 18 :PQ_READ_PROXY DEBUG: Direct read cache created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/70hy/000515/r3tmp/tmpy7Qerx/pdisk_1.dat
2025-10-26T18:08:11.887842Z node 17 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:08:11.926455Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:08:11.926585Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:08:11.927557Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:08:11.927642Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:08:11.930455Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(17, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-26T18:08:11.936159Z node 17 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 18 Cookie 18
2025-10-26T18:08:11.939598Z node 17 :HIVE WARN: HIVE#72057594037968897 Node(18, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 24922, node 17
2025-10-26T18:08:12.082683Z node 17 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexrtivUQ.tmp
2025-10-26T18:08:12.082717Z node 17 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexrtivUQ.tmp
2025-10-26T18:08:12.082892Z node 17 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexrtivUQ.tmp
2025-10-26T18:08:12.083066Z node 17 :NET_CLASSIFIER ERROR: got bad distributable configuration
2025-10-26T18:08:12.169983Z INFO: TTestServer started on Port 29244 GrpcPort 24922
TClient is connected to server localhost:29244
PQClient connected to localhost:24922
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
    }
  }
  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
      PlanResolution: 7
      Coo...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-26T18:08:12.503872Z node 17 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480
waiting...
waiting...
2025-10-26T18:08:12.594483Z node 17 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480
waiting...
waiting...
waiting...
2025-10-26T18:08:16.398021Z node 17 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[17:7565593873654902212:8301];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:08:16.398146Z node 17 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-26T18:08:16.417831Z node 18 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[18:7565593873785509290:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:08:16.417941Z node 18 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-26T18:08:16.736270Z node 17 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [17:7565593895129739581:8385], 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-26T18:08:16.740090Z node 17 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=17&id=YTdlMGM1ZDAtMmEzNGVkZDgtNDRkNTdiODEtNTAwM2I4OA==, ActorId: [17:7565593895129739579:8384], ActorState: ExecuteState, TraceId: 01k8gv9v8x360724n1ykm7bhyx, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:08:16.741502Z node 17 :PERSQUEUE_CLUSTER_TRACKER ERROR: 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-26T18:08:16.749565Z node 17 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715662:0, at schemeshard:  72057594046644480
2025-10-26T18:08:16.870516Z node 17 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480
2025-10-26T18:08:17.089149Z node 17 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480
=== 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-26T18:08:17.637362Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715665. Ctx: { TraceId: 01k8gv9vx72x7nzd91nmp51atq, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=YWM2ODJiNGMtNDA3YjM5NDYtZTZmYmU3NmYtZTZlNTQxZTE=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [17:7565593899424707325:12350] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 1 partitions
CallPersQueueGRPC request to localhost:24922
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:08:22.919959Z node 17 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:24922
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 1
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      ReadRules: "user"
      ReadFromTimestampsMs: 0
      ConsumerFormatVersions: 0
      ConsumerCodecs {
      }
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      ReadRuleVersions: 0
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715676
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-26T18:08:22.957537Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic  pipe [17:7565593920899544351:8518] connected; active server actors: 1
2025-10-26T18:08:22.958951Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 updating configuration. Deleted partitions []. Added partitions [0]
2025-10-26T18:08:22.961290Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-26T18:08:22.962526Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) 
2025-10-26T18:08:22.962856Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72057594046644480, NodeId 17, Generation 2
2025-10-26T18:08:22.992708Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvInterconnect::TEvNodeInfo
2025-10-26T18:08:22.999790Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-10-26T18:08:23.005876Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Transactions request. From tx_00000000000000000000, To tx_18446744073709551615
2025-10-26T18:08:23.006235Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] doesn't have tx info
2025-10-26T18:08:23.006327Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 0, PlanTxId 0, ExecStep 0, ExecTxId 0
2025-10-26T18:08:23.006375Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] no config, start with empty partitions and default config
2025-10-26T18:08:23.006409Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Txs.size=0, PlannedTxs.size=0
2025-10-26T18:08:23.006445Z node 18 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:08:23.006493Z node 18 :PERSQUEUE INFO: Tablet 72075186224037892 doesn't have tx writes info
2025-10-26T18:08:23.007471Z node 17 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037892, NodeId 18, Generation 1
2025-10-26T18:08:23.007641Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [17:7565593920899544348:8422], now have 1 active actors on pipe
2025-10-26T18:08:23.007682Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [17:7565593920899544375:8], now have 1 active actors on pipe
2025-10-26T18:08:23.008392Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransaction SourceActor { RawX1: 7565593873654902414 RawX2: 73014456379 } TxId: 281474976715676 Config { TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } } }
2025-10-26T18:08:23.008566Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Propose TxId 281474976715676, WriteId (empty maybe)
2025-10-26T18:08:23.008607Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state UNKNOWN
2025-10-26T18:08:23.008653Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State UNKNOWN
2025-10-26T18:08:23.008683Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] schedule TEvProposeTransactionResult(PREPARED)
2025-10-26T18:08:23.008714Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PREPARING
2025-10-26T18:08:23.008817Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:08:23.009228Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: PREPARED MinStep: 1761502103004 MaxStep: 18446744073709551615 Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593873654902414 RawX2: 73014456379 }
2025-10-26T18:08:23.009428Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:08:23.022215Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:08:23.022285Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARING
2025-10-26T18:08:23.022328Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PREPARING
2025-10-26T18:08:23.022356Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PREPARED
2025-10-26T18:08:23.031454Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransactionAttach TabletId: 72075186224037892 TxId: 281474976715676
2025-10-26T18:08:23.039425Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [17:7565593925194511716:8482], now have 1 active actors on pipe
2025-10-26T18:08:23.039657Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvTxProcessing::TEvPlanStep Transactions { TxId: 281474976715676 AckTo { RawX1: 7565593873654902666 RawX2: 73014452356 } } Step: 1761502103074 MediatorID: 72057594046382081 TabletID: 72075186224037892
2025-10-26T18:08:23.039725Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARED
2025-10-26T18:08:23.039756Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PREPARED
2025-10-26T18:08:23.039786Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PLANNING
2025-10-26T18:08:23.039821Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 1761502103074, PlanTxId 281474976715676
2025-10-26T18:08:23.039889Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:08:23.040392Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: PLANNED MinStep: 1761502103004 MaxStep: 18446744073709551615 Step: 1761502103074 Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593873654902414 RawX2: 73014456379 }
2025-10-26T18:08:23.040590Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:08:23.066102Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:08:23.066195Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PLANNING
2025-10-26T18:08:23.066228Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PLANNING
2025-10-26T18:08:23.066262Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PLANNED
2025-10-26T18:08:23.066331Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from PLANNING to PLANNED
2025-10-26T18:08:23.066354Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxQueue.size 1
2025-10-26T18:08:23.066385Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] New ExecStep 1761502103074, ExecTxId 281474976715676
2025-10-26T18:08:23.067459Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState CALCULATING
2025-10-26T18:08:23.067494Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from PLANNED to CALCULATING
2025-10-26T18:08:23.067597Z node 18 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitConfigStep
2025-10-26T18:08:23.067671Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-10-26T18:08:23.068239Z node 18 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitInternalFieldsStep
2025-10-26T18:08:23.068559Z node 18 :PERSQUEUE INFO: bootstrapping 0 [18:7565593925325117531:4298]
2025-10-26T18:08:23.073243Z node 18 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Completed.
2025-10-26T18:08:23.073288Z node 18 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [18:7565593925325117531:4298]
2025-10-26T18:08:23.073319Z node 18 :PERSQUEUE DEBUG: SYNC INIT topic rt3.dc1--topic1 partitition 0 so 0 endOffset 0 Head Offset 0 PartNo 0 PackedSize 0 count 0 nextOffset 0 batches 0
2025-10-26T18:08:23.076231Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Process pending events. Count 1
2025-10-26T18:08:23.076487Z node 18 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-10-26T18:08:23.076803Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1761502103074, TxId 281474976715676, Partition 0
2025-10-26T18:08:23.076836Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] Handle TEvProposePartitionConfigResult
2025-10-26T18:08:23.076861Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] Partition responses 1/1
2025-10-26T18:08:23.076890Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-10-26T18:08:23.076914Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State CALCULATING
2025-10-26T18:08:23.076945Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State CALCULATING FrontTxId 281474976715676
2025-10-26T18:08:23.076966Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-10-26T18:08:23.077001Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState CALCULATED
2025-10-26T18:08:23.077036Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from CALCULATING to CALCULATED
2025-10-26T18:08:23.077069Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:08:23.077535Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: CALCULATED MinStep: 1761502103004 MaxStep: 18446744073709551615 Step: 1761502103074 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593873654902414 RawX2: 73014456379 }
2025-10-26T18:08:23.077752Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:08:23.084781Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:08:23.084836Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATED
2025-10-26T18:08:23.084867Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State CALCULATED
2025-10-26T18:08:23.084899Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State CALCULATED FrontTxId 281474976715676
2025-10-26T18:08:23.084932Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState WAIT_RS
2025-10-26T18:08:23.084962Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from CALCULATED to WAIT_RS
2025-10-26T18:08:23.084996Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvTxProcessing::TEvReadSet to 0 receivers. Wait TEvTxProcessing::TEvReadSet from 0 senders.
2025-10-26T18:08:23.085025Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveParticipantsDecision 1
2025-10-26T18:08:23.085067Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState EXECUTING
2025-10-26T18:08:23.085097Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from WAIT_RS to EXECUTING
2025-10-26T18:08:23.085122Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 0, Expected 1
2025-10-26T18:08:23.085234Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1761502103074, TxId 281474976715676
2025-10-26T18:08:23.085865Z node 18 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:08:23.092187Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:08:23.092322Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1761502103074, TxId 281474976715676, Partition 0
2025-10-26T18:08:23.092358Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-10-26T18:08:23.092378Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State EXECUTING
2025-10-26T18:08:23.092399Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State EXECUTING FrontTxId 281474976715676
2025-10-26T18:08:23.092415Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-10-26T18:08:23.092440Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId: 281474976715676 send TEvPersQueue::TEvProposeTransactionResult(COMPLETE)
2025-10-26T18:08:23.092463Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] complete TxId 281474976715676
2025-10-26T18:08:23.092735Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Apply new config PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false }
2025-10-26T18:08:23.092864Z node 18 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:08:23.092941Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete partitions for TxId 281474976715676
2025-10-26T18:08:23.092964Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState EXECUTED
2025-10-26T18:08:23.092985Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from EXECUTING to EXECUTED
2025-10-26T18:08:23.093006Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:08:23.093290Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: EXECUTED MinStep: 1761502103004 MaxStep: 18446744073709551615 Step: 1761502103074 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593873654902414 RawX2: 73014456379 }
2025-10-26T18:08:23.093553Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:08:23.102131Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:08:23.102186Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTED
2025-10-26T18:08:23.102213Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State EXECUTED
2025-10-26T18:08:23.102241Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State EXECUTED FrontTxId 281474976715676
2025-10-26T18:08:23.102265Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TPersQueue::SendEvReadSetAckToSenders
2025-10-26T18:08:23.102291Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState WAIT_RS_ACKS
2025-10-26T18:08:23.102324Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from EXECUTED to WAIT_RS_ACKS
2025-10-26T18:08:23.102367Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] PredicateAcks: 0/0
2025-10-26T18:08:23.102381Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveAllRecipientsReceive 1, AllSupportivePartitionsHaveBeenDeleted 1
2025-10-26T18:08:23.102398Z node 18 :PERSQUEUE DEBUG: [TxId: 281474976715676] PredicateAcks: 0/0
2025-10-26T18:08:23.102416Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] add an TxId 281474976715676 to the list for deletion
2025-10-26T18:08:23.102439Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState DELETING
2025-10-26T18:08:23.102472Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete key for TxId 281474976715676
2025-10-26T18:08:23.102562Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:08:23.107405Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:08:23.107474Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state DELETING
2025-10-26T18:08:23.107505Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State DELETING
2025-10-26T18:08:23.107538Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete TxId 281474976715676
2025-10-26T18:08:23.310441Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715677. Ctx: { TraceId: 01k8gva1e631z94aqh9dpsgecq, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=Mzk4ZWRmNjMtNjhiMjE0ODgtODBmZWQ0ZTEtYmU2MzhmMjA=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761502103074
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 1
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxC...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761502103074
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 1
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      ReadRules: "user"
      ReadFromTimestampsMs: 0
      ConsumerFormatVersions: 0
      ConsumerCodecs {
      }
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      ReadRuleVersions: 0
      YdbDatabasePath: "/Root"
    }
    Partitions {
      PartitionId: 0
      TabletId: 72075186224037892
      Status: Active
    }
    AlterVersion: 1
    BalancerTabletID: 72075186224037893
    NextPartitionId: 1
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 1
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 8
    PathsLimit: 10000
    ShardsInside: 6
    ShardsLimit: 200000
    ResourcesDomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    DiskSpaceUsage {
      Tables {
        TotalSize: 0
        DataSize: 0
        IndexSize: 0
      }
      Topics {
        ReserveSize: 0
        AccountSize: 0
        DataSize: 0
        UsedReserveSize: 0
      }
    }
    PQPartitionsInside: 1
    PQPartitionsLimit: 1000000
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version1
CallPersQueueGRPC request to localhost:24922
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:08:23.367041Z node 17 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:24922
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:08:23.874468Z node 17 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 1
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        ReadRules: "user"
        ReadFromTimestampsMs: 0
        ConsumerFormatVersions: 0
        ConsumerCodecs {
        }
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        ReadRuleVersions: 0
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Codec {
          }
          Version: 0
        ...
(TRUNCATED)
=== Topic created, have version: 1
2025-10-26T18:08:23.883279Z node 17 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:08:23.883342Z node 17 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-10-26T18:08:23.883931Z node 17 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-10-26T18:08:23.884131Z node 17 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:42134
2025-10-26T18:08:23.884168Z node 17 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42134 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:08:23.884184Z node 17 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:08:23.886674Z node 17 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-26T18:08:23.886895Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:08:23.886920Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:08:23.886937Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:08:23.886966Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:08:23.891048Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:08:24.129425Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:08:24.129917Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593929489479207:8435] connected; active server actors: 1
2025-10-26T18:08:24.130042Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=12345678
2025-10-26T18:08:24.130076Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-26T18:08:24.130799Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593929489479207:8435] disconnected; active server actors: 1
2025-10-26T18:08:24.130846Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593929489479207:8435] disconnected no session
2025-10-26T18:08:24.306586Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:08:24.306657Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:08:24.306691Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593925194511855:8435] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-26T18:08:24.306737Z node 17 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:08:24.308216Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [17:7565593929489479228:8435], now have 1 active actors on pipe
2025-10-26T18:08:24.308560Z node 17 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-26T18:08:24.308778Z node 18 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:08:24.308817Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:08:24.308932Z node 18 :PERSQUEUE INFO: new Cookie 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0 generated for partition 0 topic 'rt3.dc1--topic1' owner 12345678
2025-10-26T18:08:24.309049Z node 18 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:08:24.309127Z node 18 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:08:24.309815Z node 18 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:08:24.309842Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:08:24.309947Z node 18 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:08:24.310485Z node 17 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0
2025-10-26T18:08:24.317869Z node 17 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0 grpc read done: success: 0 data: 
2025-10-26T18:08:24.317907Z node 17 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0 grpc read failed
2025-10-26T18:08:24.318197Z node 17 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 1 sessionId: 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0
2025-10-26T18:08:24.318238Z node 17 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|b876748-678a29a3-a0b40a5b-f073f3b3_0 is DEAD
2025-10-26T18:08:24.318780Z node 17 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:08:24.319903Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [17:7565593929489479228:8435] destroyed
2025-10-26T18:08:24.319986Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
Finish: 0 
2025-10-26T18:08:24.321969Z :PreferredCluster_RemotePreferredClusterEnabledWhileSessionInitializing_SessionDiesOnlyAfterInitializationAndDelay INFO: Random seed for debugging is 1761502104321954
2025-10-26T18:08:24.690395Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715684. Ctx: { TraceId: 01k8gva2s9cbr8e9mz39c9nzx6, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=NjNjMWM1OWYtOThmZTRlMjgtM2MyNzU3Ni04YTM2Zjk5OQ==, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:08:24.698211Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715686. Ctx: { TraceId: 01k8gva2s9cbr8e9mz39c9nzx6, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=NjNjMWM1OWYtOThmZTRlMjgtM2MyNzU3Ni04YTM2Zjk5OQ==, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:08:24.740689Z node 17 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:08:24.740726Z node 17 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-10-26T18:08:25.069585Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715688. Ctx: { TraceId: 01k8gva3678c4a5k75hxb523ga, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=NTYzNWU2NjAtMjc0OWEwYjQtMzM3N2MyODAtZjJjMTI4YjI=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:08:25.077207Z node 17 :KQP_EXECUTER ERROR: TxId: 281474976715689. Ctx: { TraceId: 01k8gva3678c4a5k75hxb523ga, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=17&id=NTYzNWU2NjAtMjc0OWEwYjQtMzM3N2MyODAtZjJjMTI4YjI=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:08:25.106153Z :PreferredCluster_RemotePreferredClusterEnabledWhileSessionInitializing_SessionDiesOnlyAfterInitializationAndDelay INFO: Wait for cluster tracker event
2025-10-26T18:08:25.106630Z :PreferredCluster_RemotePreferredClusterEnabledWhileSessionInitializing_SessionDiesOnlyAfterInitializationAndDelay INFO: Wait for "init_response"
2025-10-26T18:08:25.108270Z node 17 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "test-message-group-id-dc2" preferred_cluster: "dc2" }
2025-10-26T18:08:25.108465Z node 17 :PQ_WRITE_PROXY INFO: session request cookie: 2 topic: "topic1" message_group_id: "test-message-group-id-dc2" preferred_cluster: "dc2" from ipv6:[::1]:42134
2025-10-26T18:08:25.108487Z node 17 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42134 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:08:25.108501Z node 17 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:08:25.110548Z node 17 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-26T18:08:25.110756Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:08:25.110772Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:08:25.110790Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:08:25.110813Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:08:25.114116Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:08:25.121169Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:08:25.121588Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593933784446739:8435] connected; active server actors: 1
2025-10-26T18:08:25.121715Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=test-message-group-id-dc2
2025-10-26T18:08:25.121736Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Update the table
2025-10-26T18:08:25.122660Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593933784446739:8435] disconnected; active server actors: 1
2025-10-26T18:08:25.122698Z node 17 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [17:7565593933784446739:8435] disconnected no session
2025-10-26T18:08:25.136870Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:08:25.136934Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:08:25.136964Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Start idle
2025-10-26T18:08:25.137003Z node 17 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:08:25.138752Z node 17 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 18, Generation: 1
2025-10-26T18:08:25.138572Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [17:7565593933784446748:8435], now have 1 active actors on pipe
2025-10-26T18:08:25.140351Z node 17 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0
2025-10-26T18:08:25.139021Z node 18 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:08:25.139051Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:08:25.139151Z node 18 :PERSQUEUE INFO: new Cookie test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0 generated for partition 0 topic 'rt3.dc1--topic1' owner test-message-group-id-dc2
2025-10-26T18:08:25.139246Z node 18 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:08:25.139328Z node 18 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:08:25.139882Z node 18 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:08:25.139906Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:08:25.140013Z node 18 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
Init response: status: SUCCESS init_response { session_id: "test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }
2025-10-26T18:08:25.146068Z :PreferredCluster_RemotePreferredClusterEnabledWhileSessionInitializing_SessionDiesOnlyAfterInitializationAndDelay INFO: Session ID is "test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0"
2025-10-26T18:08:25.148814Z :PreferredCluster_RemotePreferredClusterEnabledWhileSessionInitializing_SessionDiesOnlyAfterInitializationAndDelay INFO: Set small delay and wait for initialized session with remote preferred cluster to die
2025-10-26T18:08:25.146779Z node 17 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:08:26.145624Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Update the table
2025-10-26T18:08:26.518818Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=1 Status=SUCCESS
2025-10-26T18:08:26.518859Z node 17 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [17:7565593933784446724:8435] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Start idle
2025-10-26T18:08:26.750788Z node 17 :FLAT_TX_SCHEMESHARD WARN: Cannot get console configs
2025-10-26T18:08:26.750845Z node 17 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:08:27.194141Z node 17 :PQ_WRITE_PROXY INFO: session v1 error cookie: 2 reason: Session preferred cluster "dc2" is enabled for at least 2.000000s and session is older than 2.000000s sessionId: test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0
2025-10-26T18:08:27.194519Z node 17 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message-group-id-dc2|e3dfedd1-e59d317a-494d0fe6-73c53853_0 is DEAD
status: ABORTED
issues {
  message: "Session preferred cluster \"dc2\" is enabled for at least 2.000000s and session is older than 2.000000s"
  issue_code: 500026
  severity: 1
}
2025-10-26T18:08:27.195033Z node 17 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:08:27.195498Z node 18 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [17:7565593933784446748:8435] destroyed
2025-10-26T18:08:27.195570Z node 18 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
