2025-10-26T18:06:55.131955Z node 9 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[9:7565593549205423159:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:06:55.132978Z node 9 :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:06:55.142604Z node 10 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[10:7565593547848619541:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:06:55.144072Z node 10 :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:06:55.144232Z node 9 :PQ_READ_PROXY DEBUG: Direct read cache created
2025-10-26T18:06:55.155089Z node 10 :PQ_READ_PROXY DEBUG: Direct read cache created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/70hy/000515/r3tmp/tmpnTIg2N/pdisk_1.dat
2025-10-26T18:06:55.520215Z node 9 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:06:55.567311Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(9, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:06:55.567442Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(9, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:06:55.569367Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(10, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:06:55.569446Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(10, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:06:55.575717Z node 9 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 10 Cookie 10
2025-10-26T18:06:55.575867Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(9, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-26T18:06:55.576666Z node 9 :HIVE WARN: HIVE#72057594037968897 Node(10, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 63863, node 9
2025-10-26T18:06:55.658601Z node 9 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexSXjjEm.tmp
2025-10-26T18:06:55.658635Z node 9 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexSXjjEm.tmp
2025-10-26T18:06:55.658811Z node 9 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/70hy/000515/r3tmp/yandexSXjjEm.tmp
2025-10-26T18:06:55.658999Z node 9 :NET_CLASSIFIER ERROR: got bad distributable configuration
2025-10-26T18:06:55.719607Z INFO: TTestServer started on Port 18290 GrpcPort 63863
TClient is connected to server localhost:18290
PQClient connected to localhost:63863
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:06:55.992895Z node 9 :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:06:56.041915Z node 9 :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:06:59.689986Z node 10 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [10:7565593565028489046:4295], 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:06:59.692013Z node 10 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=10&id=ZTEzZTU2ZjgtMzNjZjZlYy1hY2NlZDhhYS0yNWE2MGY2Zg==, ActorId: [10:7565593565028489044:4294], ActorState: ExecuteState, TraceId: 01k8gv7g240zyec7j5cr5b8ht9, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:06:59.692512Z node 10 :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:06:59.769362Z node 9 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [9:7565593566385293365:4286], 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:06:59.769910Z node 9 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=9&id=ZWQ0NWQzYTItNDJkMGM5M2ItOGZhZmE3LWFlZjIxNzI1, ActorId: [9:7565593566385293363:4282], ActorState: ExecuteState, TraceId: 01k8gv7g3wba0bjd84k4jem35g, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:06:59.771037Z node 9 :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:06:59.773722Z node 9 :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:06:59.871393Z node 9 :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:07:00.032877Z node 9 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480
2025-10-26T18:07:00.132364Z node 9 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[9:7565593549205423159:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:00.132446Z node 9 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== 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:07:00.143342Z node 10 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[10:7565593547848619541:4098];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:00.143440Z node 10 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-26T18:07:00.425257Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715665. Ctx: { TraceId: 01k8gv7gjeaejyakkdtxq96f26, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=Yjk5YTlmZmItYjFlOTBiYzgtYWQzZDhiZmUtYWEyY2YyODE=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [9:7565593570680261107:12323] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 1 partitions
CallPersQueueGRPC request to localhost:63863
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:06.736063Z node 9 :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:63863
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: 281474976715679
  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:07:06.774812Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic  pipe [9:7565593596450065535:8458] connected; active server actors: 1
2025-10-26T18:07:06.775053Z node 9 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 updating configuration. Deleted partitions []. Added partitions [0]
2025-10-26T18:07:06.776077Z node 9 :PERSQUEUE_READ_BALANCER DEBUG: Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-26T18:07:06.777658Z node 9 :PERSQUEUE_READ_BALANCER DEBUG: BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) 
2025-10-26T18:07:06.778936Z node 9 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72057594046644480, NodeId 9, Generation 2
2025-10-26T18:07:06.783484Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvInterconnect::TEvNodeInfo
2025-10-26T18:07:06.785371Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-10-26T18:07:06.790008Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Transactions request. From tx_00000000000000000000, To tx_18446744073709551615
2025-10-26T18:07:06.790304Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] doesn't have tx info
2025-10-26T18:07:06.790330Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 0, PlanTxId 0, ExecStep 0, ExecTxId 0
2025-10-26T18:07:06.790351Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] no config, start with empty partitions and default config
2025-10-26T18:07:06.790375Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Txs.size=0, PlannedTxs.size=0
2025-10-26T18:07:06.790404Z node 10 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:06.790455Z node 10 :PERSQUEUE INFO: Tablet 72075186224037892 doesn't have tx writes info
2025-10-26T18:07:06.791212Z node 9 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037892, NodeId 10, Generation 1
2025-10-26T18:07:06.797794Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593596450065559:8], now have 1 active actors on pipe
2025-10-26T18:07:06.797857Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593596450065534:8562], now have 1 active actors on pipe
2025-10-26T18:07:06.798277Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransaction SourceActor { RawX1: 7565593549205423506 RawX2: 38654717997 } TxId: 281474976715679 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:07:06.798405Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Propose TxId 281474976715679, WriteId (empty maybe)
2025-10-26T18:07:06.798432Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state UNKNOWN
2025-10-26T18:07:06.798456Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State UNKNOWN
2025-10-26T18:07:06.798478Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] schedule TEvProposeTransactionResult(PREPARED)
2025-10-26T18:07:06.798504Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState PREPARING
2025-10-26T18:07:06.798568Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715679
2025-10-26T18:07:06.798893Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] save tx TxId: 281474976715679 State: PREPARED MinStep: 1761502026767 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: 7565593549205423506 RawX2: 38654717997 }
2025-10-26T18:07:06.799040Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:06.809548Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:06.809602Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARING
2025-10-26T18:07:06.809625Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State PREPARING
2025-10-26T18:07:06.809653Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState PREPARED
2025-10-26T18:07:06.818819Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransactionAttach TabletId: 72075186224037892 TxId: 281474976715679
2025-10-26T18:07:06.822575Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593596450065600:8531], now have 1 active actors on pipe
2025-10-26T18:07:06.823561Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvTxProcessing::TEvPlanStep Transactions { TxId: 281474976715679 AckTo { RawX1: 7565593549205423741 RawX2: 38654713937 } } Step: 1761502026865 MediatorID: 72057594046382081 TabletID: 72075186224037892
2025-10-26T18:07:06.823611Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARED
2025-10-26T18:07:06.823629Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State PREPARED
2025-10-26T18:07:06.823646Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState PLANNING
2025-10-26T18:07:06.823665Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 1761502026865, PlanTxId 281474976715679
2025-10-26T18:07:06.823701Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715679
2025-10-26T18:07:06.823974Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] save tx TxId: 281474976715679 State: PLANNED MinStep: 1761502026767 MaxStep: 18446744073709551615 Step: 1761502026865 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: 7565593549205423506 RawX2: 38654717997 }
2025-10-26T18:07:06.824090Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:06.831016Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:06.831073Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PLANNING
2025-10-26T18:07:06.831097Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State PLANNING
2025-10-26T18:07:06.831122Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState PLANNED
2025-10-26T18:07:06.831152Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from PLANNING to PLANNED
2025-10-26T18:07:06.831169Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxQueue.size 1
2025-10-26T18:07:06.831191Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] New ExecStep 1761502026865, ExecTxId 281474976715679
2025-10-26T18:07:06.831982Z node 10 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitConfigStep
2025-10-26T18:07:06.832091Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState CALCULATING
2025-10-26T18:07:06.832115Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from PLANNED to CALCULATING
2025-10-26T18:07:06.832241Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-10-26T18:07:06.832505Z node 10 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitInternalFieldsStep
2025-10-26T18:07:06.832780Z node 10 :PERSQUEUE INFO: bootstrapping 0 [10:7565593595093260563:4325]
2025-10-26T18:07:06.835559Z node 10 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Completed.
2025-10-26T18:07:06.835594Z node 10 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [10:7565593595093260563:4325]
2025-10-26T18:07:06.835621Z node 10 :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:07:06.837047Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Process pending events. Count 1
2025-10-26T18:07:06.837227Z node 10 :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:07:06.837261Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1761502026865, TxId 281474976715679, Partition 0
2025-10-26T18:07:06.837290Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] Handle TEvProposePartitionConfigResult
2025-10-26T18:07:06.837310Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] Partition responses 1/1
2025-10-26T18:07:06.837337Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-10-26T18:07:06.837379Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State CALCULATING
2025-10-26T18:07:06.837408Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 State CALCULATING FrontTxId 281474976715679
2025-10-26T18:07:06.837429Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-10-26T18:07:06.837458Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState CALCULATED
2025-10-26T18:07:06.837492Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from CALCULATING to CALCULATED
2025-10-26T18:07:06.837518Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715679
2025-10-26T18:07:06.837938Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] save tx TxId: 281474976715679 State: CALCULATED MinStep: 1761502026767 MaxStep: 18446744073709551615 Step: 1761502026865 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: 7565593549205423506 RawX2: 38654717997 }
2025-10-26T18:07:06.838107Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:06.841901Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:06.841938Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATED
2025-10-26T18:07:06.841963Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State CALCULATED
2025-10-26T18:07:06.841987Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 State CALCULATED FrontTxId 281474976715679
2025-10-26T18:07:06.842008Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState WAIT_RS
2025-10-26T18:07:06.842031Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from CALCULATED to WAIT_RS
2025-10-26T18:07:06.842060Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvTxProcessing::TEvReadSet to 0 receivers. Wait TEvTxProcessing::TEvReadSet from 0 senders.
2025-10-26T18:07:06.842084Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveParticipantsDecision 1
2025-10-26T18:07:06.842124Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState EXECUTING
2025-10-26T18:07:06.842151Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from WAIT_RS to EXECUTING
2025-10-26T18:07:06.842170Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 0, Expected 1
2025-10-26T18:07:06.842222Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1761502026865, TxId 281474976715679
2025-10-26T18:07:06.842647Z node 10 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:06.846651Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1761502026865, TxId 281474976715679, Partition 0
2025-10-26T18:07:06.846651Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:06.846689Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-10-26T18:07:06.846714Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State EXECUTING
2025-10-26T18:07:06.846738Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 State EXECUTING FrontTxId 281474976715679
2025-10-26T18:07:06.846751Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-10-26T18:07:06.846776Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId: 281474976715679 send TEvPersQueue::TEvProposeTransactionResult(COMPLETE)
2025-10-26T18:07:06.846807Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] complete TxId 281474976715679
2025-10-26T18:07:06.847069Z node 10 :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:07:06.847160Z node 10 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:06.847234Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete partitions for TxId 281474976715679
2025-10-26T18:07:06.847252Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState EXECUTED
2025-10-26T18:07:06.847271Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from EXECUTING to EXECUTED
2025-10-26T18:07:06.847294Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715679
2025-10-26T18:07:06.847563Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] save tx TxId: 281474976715679 State: EXECUTED MinStep: 1761502026767 MaxStep: 18446744073709551615 Step: 1761502026865 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: 7565593549205423506 RawX2: 38654717997 }
2025-10-26T18:07:06.847732Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:06.855954Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:06.855999Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTED
2025-10-26T18:07:06.856021Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State EXECUTED
2025-10-26T18:07:06.856044Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 State EXECUTED FrontTxId 281474976715679
2025-10-26T18:07:06.856067Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TPersQueue::SendEvReadSetAckToSenders
2025-10-26T18:07:06.856095Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState WAIT_RS_ACKS
2025-10-26T18:07:06.856118Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679 moved from EXECUTED to WAIT_RS_ACKS
2025-10-26T18:07:06.856152Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] PredicateAcks: 0/0
2025-10-26T18:07:06.856165Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveAllRecipientsReceive 1, AllSupportivePartitionsHaveBeenDeleted 1
2025-10-26T18:07:06.856185Z node 10 :PERSQUEUE DEBUG: [TxId: 281474976715679] PredicateAcks: 0/0
2025-10-26T18:07:06.856206Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] add an TxId 281474976715679 to the list for deletion
2025-10-26T18:07:06.856232Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, NewState DELETING
2025-10-26T18:07:06.856262Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete key for TxId 281474976715679
2025-10-26T18:07:06.856336Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:06.858753Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:06.858791Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state DELETING
2025-10-26T18:07:06.858813Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715679, State DELETING
2025-10-26T18:07:06.858835Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete TxId 281474976715679
2025-10-26T18:07:06.938502Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715680. Ctx: { TraceId: 01k8gv7q143ksgxrta2erk1tjq, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=NmFjOTMzMWYtYjFjNDE4MTAtNWRhMzc4OWQtODZjMWNjZmQ=, 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: 281474976715679
    CreateStep: 1761502026865
    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: 281474976715679
    CreateStep: 1761502026865
    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:63863
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:06.979809Z node 9 :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:63863
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:07.487443Z node 9 :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:63863
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:07.993034Z node 9 :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:07:07.999425Z node 9 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:07.999480Z node 9 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-10-26T18:07:07.999904Z node 9 :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:07:08.000065Z node 9 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:42280
2025-10-26T18:07:08.000085Z node 9 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42280 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:08.000103Z node 9 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:08.002032Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-26T18:07:08.002187Z node 9 :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:07:08.002232Z node 9 :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:07:08.002248Z node 9 :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:07:08.002272Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:08.006997Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:08.193454Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:08.193876Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000408:4327] connected; active server actors: 1
2025-10-26T18:07:08.194038Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=12345678
2025-10-26T18:07:08.194069Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:08.194445Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000408:4327] disconnected; active server actors: 1
2025-10-26T18:07:08.194486Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000408:4327] disconnected no session
2025-10-26T18:07:08.349566Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:08.349632Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:08.349664Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000354:4327] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:08.349720Z node 9 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:08.351206Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593605040000434:4327], now have 1 active actors on pipe
2025-10-26T18:07:08.351517Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 10, Generation: 1
2025-10-26T18:07:08.351811Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.351848Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.351951Z node 10 :PERSQUEUE INFO: new Cookie 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0 generated for partition 0 topic 'rt3.dc1--topic1' owner 12345678
2025-10-26T18:07:08.352041Z node 10 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:08.352116Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.353039Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.353064Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.353161Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.353662Z node 9 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0
2025-10-26T18:07:08.358271Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0 grpc read done: success: 0 data: 
2025-10-26T18:07:08.358304Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0 grpc read failed
2025-10-26T18:07:08.358510Z node 9 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 1 sessionId: 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0
2025-10-26T18:07:08.358546Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|8a3cfa28-846b02fe-fc61fc16-301171e1_0 is DEAD
Finish: 0 
2025-10-26T18:07:08.358909Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Random seed for debugging is 1761502028358893
2025-10-26T18:07:08.359088Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:08.359545Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Disable remote cluster "dc2"
2025-10-26T18:07:08.359508Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [9:7565593605040000434:4327] destroyed
2025-10-26T18:07:08.359589Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:08.686221Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715688. Ctx: { TraceId: 01k8gv7rk33fwk0b0t6n83sx13, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=ZGFkZWEzZjAtMjllNmYxYWEtODI0NzA2NDItNjlkNGI5Mjk=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:07:08.692959Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715689. Ctx: { TraceId: 01k8gv7rk33fwk0b0t6n83sx13, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=ZGFkZWEzZjAtMjllNmYxYWEtODI0NzA2NDItNjlkNGI5Mjk=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:07:08.718495Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Wait for "init_response"
2025-10-26T18:07:08.718751Z node 9 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:08.718796Z node 9 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-10-26T18:07:08.719270Z node 9 :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-" }
2025-10-26T18:07:08.719452Z node 9 :PQ_WRITE_PROXY INFO: session request cookie: 2 topic: "topic1" message_group_id: "test-message-group-id-" from ipv6:[::1]:42280
2025-10-26T18:07:08.719480Z node 9 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42280 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:08.719494Z node 9 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:08.721321Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-26T18:07:08.721509Z node 9 :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:07:08.721531Z node 9 :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:07:08.721545Z node 9 :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:07:08.721568Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:08.726331Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:08.733569Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:08.733981Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000524:4285] connected; active server actors: 1
2025-10-26T18:07:08.734048Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=test-message-group-id-
2025-10-26T18:07:08.734072Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:08.734421Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000524:4285] disconnected; active server actors: 1
2025-10-26T18:07:08.734462Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000524:4285] disconnected no session
2025-10-26T18:07:08.744097Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:08.744179Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:08.744207Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000509:4285] (SourceId=test-message-group-id-, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:08.744253Z node 9 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:08.745097Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593605040000534:4285], now have 1 active actors on pipe
2025-10-26T18:07:08.745266Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 10, Generation: 1
2025-10-26T18:07:08.745464Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.745509Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.745643Z node 10 :PERSQUEUE INFO: new Cookie test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 generated for partition 0 topic 'rt3.dc1--topic1' owner test-message-group-id-
2025-10-26T18:07:08.745797Z node 10 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:08.745917Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.746418Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.746443Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.746565Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.746924Z node 9 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0
Init response: status: SUCCESS init_response { session_id: "test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }
2025-10-26T18:07:08.747881Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Session ID is "test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0"
2025-10-26T18:07:08.748630Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Wait for "init_response"
2025-10-26T18:07:08.749075Z node 9 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:08.749124Z node 9 :PQ_WRITE_PROXY DEBUG: new session created cookie 3
2025-10-26T18:07:08.749562Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "test-message-group-id-dc1" preferred_cluster: "dc1" }
2025-10-26T18:07:08.749775Z node 9 :PQ_WRITE_PROXY INFO: session request cookie: 3 topic: "topic1" message_group_id: "test-message-group-id-dc1" preferred_cluster: "dc1" from ipv6:[::1]:42280
2025-10-26T18:07:08.749811Z node 9 :PQ_WRITE_PROXY INFO: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42280 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:08.749834Z node 9 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:08.751539Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-26T18:07:08.751717Z node 9 :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:07:08.751763Z node 9 :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:07:08.751777Z node 9 :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:07:08.751801Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:08.754500Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:08.760697Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:08.760996Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000554:4323] connected; active server actors: 1
2025-10-26T18:07:08.761060Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=test-message-group-id-dc1
2025-10-26T18:07:08.761081Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:08.761417Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000554:4323] disconnected; active server actors: 1
2025-10-26T18:07:08.761445Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000554:4323] disconnected no session
2025-10-26T18:07:08.770812Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:08.770877Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:08.770915Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000539:4323] (SourceId=test-message-group-id-dc1, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:08.770960Z node 9 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:08.771847Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593605040000564:4323], now have 1 active actors on pipe
2025-10-26T18:07:08.771960Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 10, Generation: 1
2025-10-26T18:07:08.772172Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.772213Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.772344Z node 10 :PERSQUEUE INFO: new Cookie test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 generated for partition 0 topic 'rt3.dc1--topic1' owner test-message-group-id-dc1
2025-10-26T18:07:08.772433Z node 10 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:08.772518Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.773042Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.773064Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.773229Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.773567Z node 9 :PQ_WRITE_PROXY INFO: session inited cookie: 3 partition: 0 MaxSeqNo: 0 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0
Init response: status: SUCCESS init_response { session_id: "test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }
2025-10-26T18:07:08.782076Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Session ID is "test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0"
2025-10-26T18:07:08.782922Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Wait for "init_response"
2025-10-26T18:07:08.783461Z node 9 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:08.783501Z node 9 :PQ_WRITE_PROXY DEBUG: new session created cookie 4
2025-10-26T18:07:08.786296Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 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:07:08.786492Z node 9 :PQ_WRITE_PROXY INFO: session request cookie: 4 topic: "topic1" message_group_id: "test-message-group-id-dc2" preferred_cluster: "dc2" from ipv6:[::1]:42280
2025-10-26T18:07:08.786521Z node 9 :PQ_WRITE_PROXY INFO: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:42280 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:08.786535Z node 9 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:08.788408Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-26T18:07:08.788572Z node 9 :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:07:08.788587Z node 9 :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:07:08.788596Z node 9 :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:07:08.788616Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:08.791836Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:08.797980Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:08.798285Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000582:4301] connected; active server actors: 1
2025-10-26T18:07:08.798359Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=test-message-group-id-dc2
2025-10-26T18:07:08.798387Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:08.798748Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000582:4301] disconnected; active server actors: 1
2025-10-26T18:07:08.798785Z node 9 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [9:7565593605040000582:4301] disconnected no session
2025-10-26T18:07:08.807725Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:08.807801Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:08.807831Z node 9 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [9:7565593605040000567:4301] (SourceId=test-message-group-id-dc2, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:08.807872Z node 9 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 4 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:08.808643Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [9:7565593605040000592:4301], now have 1 active actors on pipe
2025-10-26T18:07:08.808786Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 10, Generation: 1
2025-10-26T18:07:08.808949Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.808983Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.809087Z node 10 :PERSQUEUE INFO: new Cookie test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0 generated for partition 0 topic 'rt3.dc1--topic1' owner test-message-group-id-dc2
2025-10-26T18:07:08.809183Z node 10 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:08.809266Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.809764Z node 10 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:08.809796Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:08.809916Z node 10 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:08.810264Z node 9 :PQ_WRITE_PROXY INFO: session inited cookie: 4 partition: 0 MaxSeqNo: 0 sessionId: test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0
Init response: status: SUCCESS init_response { session_id: "test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP }
2025-10-26T18:07:08.811233Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Session ID is "test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0"
2025-10-26T18:07:08.815297Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:07:08.817155Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:07:08.818083Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:07:08.818654Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Enable remote cluster "dc2"
2025-10-26T18:07:09.127503Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715696. Ctx: { TraceId: 01k8gv7s1jfmtmt4nfbny9nnvk, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=ODZmMDkyMzItNDY5ZWJjNjItMjM3MzJmMWEtZTcxMGM3ZTk=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:07:09.132154Z node 9 :KQP_EXECUTER ERROR: TxId: 281474976715697. Ctx: { TraceId: 01k8gv7s1jfmtmt4nfbny9nnvk, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=9&id=ODZmMDkyMzItNDY5ZWJjNjItMjM3MzJmMWEtZTcxMGM3ZTk=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:07:09.146738Z :PreferredCluster_DisabledRemoteClusterAndWriteSessionsWithDifferentPreferredClusterAndLaterRemoteClusterEnabled_SessionWithMismatchedClusterDiesAfterPreferredClusterEnabledAndOtherSessionsAlive INFO: Wait for session with remote preferred cluster to die
2025-10-26T18:07:09.419509Z node 9 :PQ_WRITE_PROXY INFO: session v1 error cookie: 4 reason: Session preferred cluster "dc2" is enabled for at least 0.000000s and session is older than 0.000000s sessionId: test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0
2025-10-26T18:07:09.419892Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: test-message-group-id-dc2|b87a0b51-693a16b3-26031778-7edb787e_0 is DEAD
2025-10-26T18:07:09.420393Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
status: ABORTED
issues {
  message: "Session preferred cluster \"dc2\" is enabled for at least 0.000000s and session is older than 0.000000s"
  issue_code: 500026
  severity: 1
}
2025-10-26T18:07:09.421488Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [9:7565593605040000592:4301] destroyed
2025-10-26T18:07:09.421557Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:09.425232Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:07:09.428284Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 grpc read done: success: 1 data:  update_token_request [content omitted]
2025-10-26T18:07:09.433306Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 grpc read done: success: 0 data: 
2025-10-26T18:07:09.433340Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 grpc read failed
2025-10-26T18:07:09.434097Z node 9 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0
2025-10-26T18:07:09.435061Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [9:7565593605040000564:4323] destroyed
2025-10-26T18:07:09.434137Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: test-message-group-id-dc1|dd6769a-1a5b6699-91d78893-7fe759ef_0 is DEAD
2025-10-26T18:07:09.434604Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:09.434723Z node 9 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 grpc read done: success: 0 data: 
2025-10-26T18:07:09.434737Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 grpc read failed
2025-10-26T18:07:09.434763Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 grpc closed
2025-10-26T18:07:09.434779Z node 9 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message-group-id-|30897390-fabe9adb-51b82439-4881e1ff_0 is DEAD
2025-10-26T18:07:09.436018Z node 9 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:09.435106Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:09.436591Z node 10 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [9:7565593605040000534:4285] destroyed
2025-10-26T18:07:09.436644Z node 10 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
