2025-11-05T14:13:27.761105Z :BasicWriteSession INFO: Random seed for debugging is 1762352007761036
2025-11-05T14:13:28.149683Z node 1 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[1:7569244240720384690:2076];send_to=[0:7307199536658146131:7762515];
2025-11-05T14:13:28.149744Z node 1 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:69;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/j3ko/003b16/r3tmp/tmp6mQ5vM/pdisk_1.dat
2025-11-05T14:13:28.410456Z node 1 :PQ_READ_PROXY DEBUG: Direct read cache: : Created
2025-11-05T14:13:28.422889Z node 2 :PQ_READ_PROXY DEBUG: Direct read cache: : Created
2025-11-05T14:13:28.453197Z node 2 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:69;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=incorrect path status: LookupError;
2025-11-05T14:13:28.606317Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-05T14:13:28.606404Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-05T14:13:28.616628Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-05T14:13:28.616727Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-05T14:13:28.620287Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(1, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-05T14:13:28.625750Z node 1 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 2 Cookie 2
2025-11-05T14:13:28.626541Z node 1 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 26114, node 1
2025-11-05T14:13:28.658175Z node 1 :GRPC_SERVER WARN: SchemeBoardDelete /Root Strong=0
2025-11-05T14:13:28.659231Z node 1 :GRPC_SERVER WARN: SchemeBoardDelete /Root Strong=0
2025-11-05T14:13:28.675961Z node 1 :IMPORT WARN: Table profiles were not loaded
2025-11-05T14:13:28.732086Z node 1 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/j3ko/003b16/r3tmp/yandexMy0Njn.tmp
2025-11-05T14:13:28.732125Z node 1 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/j3ko/003b16/r3tmp/yandexMy0Njn.tmp
2025-11-05T14:13:28.732318Z node 1 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/j3ko/003b16/r3tmp/yandexMy0Njn.tmp
2025-11-05T14:13:28.732463Z node 1 :NET_CLASSIFIER ERROR: got bad distributable configuration
2025-11-05T14:13:28.795769Z INFO: TTestServer started on Port 18625 GrpcPort 26114
TClient is connected to server localhost:18625
PQClient connected to localhost:26114
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
    ChildrenExist: false
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      Pl...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-11-05T14:13:29.105418Z node 1 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976710657:0, at schemeshard:  72057594046644480
waiting...
2025-11-05T14:13:29.179593Z node 1 :TX_CONVEYOR ERROR: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
waiting...
2025-11-05T14:13:29.225146Z node 2 :TX_CONVEYOR ERROR: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
waiting...
waiting...
2025-11-05T14:13:31.833680Z node 1 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [1:7569244253605287551:2318], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-11-05T14:13:31.835470Z node 1 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=1&id=ZWE2NjgwY2MtNDVhMTlhNjgtN2ExYmE1MzctZWQ4NTkwNTU=, ActorId: [1:7569244253605287548:2316], ActorState: ExecuteState, TraceId: 01k9a5v6cx4h4r6h58hq5cmrkh, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-05T14:13:31.838616Z node 2 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [2:7569244253781719122:2289], 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-11-05T14:13:31.840052Z node 2 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=2&id=NDY4NjI3NWQtYWVmYWMxYi00ZjI0NjQ1Zi00Njk1OTIyMA==, ActorId: [2:7569244253781719120:2288], ActorState: ExecuteState, TraceId: 01k9a5v6ae08rzese1y1vp4arg, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-05T14:13:31.842053Z node 2 :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-11-05T14:13:31.844078Z node 1 :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-11-05T14:13:31.844907Z node 1 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710661:0, at schemeshard:  72057594046644480
2025-11-05T14:13:32.053431Z node 1 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710662:0, at schemeshard:  72057594046644480
2025-11-05T14:13:32.230317Z node 1 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710663:0, at schemeshard:  72057594046644480
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost:26114", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, false, 1000);
2025-11-05T14:13:32.530798Z node 1 :KQP_EXECUTER ERROR: TxId: 281474976710664. Ctx: { TraceId: 01k9a5v70z9jteybvsakf9tdb3, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=1&id=OGM5NTllNTEtYzRlZjZjYWYtMzI1N2JlZTAtMWI0OGVkZGQ=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [1:7569244257900255237:2914] 
2025-11-05T14:13:33.149030Z node 1 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[1:7569244240720384690:2076];send_to=[0:7307199536658146131:7762515];
2025-11-05T14:13:33.149109Z node 1 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:69;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== CheckClustersList. Ok
2025-11-05T14:13:38.443017Z node 1 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976710676:0, at schemeshard:  72057594046644480
waiting...
PQ Client: create topic: rt3.dc1--test-topic with 1 partitions
CallPersQueueGRPC request to localhost:26114
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--test-topic"
  }
}
2025-11-05T14:13:38.546041Z node 1 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--test-topic, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:26114
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--test-topic"
    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: 281474976710679
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
ErrorCode: OK
AddTopic: rt3.dc1--test-topic
===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 = test-topic, dc = dc1
2025-11-05T14:13:38.608312Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][] pipe [1:7569244283670059618:3282] connected; active server actors: 1
2025-11-05T14:13:38.608580Z node 1 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][rt3.dc1--test-topic] updating configuration. Deleted partitions []. Added partitions [0]
2025-11-05T14:13:38.609198Z node 1 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][rt3.dc1--test-topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-11-05T14:13:38.610886Z node 1 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][rt3.dc1--test-topic] BALANCER INIT DONE for rt3.dc1--test-topic: (0, 72075186224037892) 
2025-11-05T14:13:38.612840Z node 1 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][rt3.dc1--test-topic] TEvClientConnected TabletId 72057594046644480, NodeId 1, Generation 2
2025-11-05T14:13:38.633544Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvInterconnect::TEvNodeInfo
2025-11-05T14:13:38.643886Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-11-05T14:13:38.647291Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Transactions request. From tx_00000000000000000000, To tx_18446744073709551615
2025-11-05T14:13:38.647563Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] doesn't have tx info
2025-11-05T14:13:38.647592Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] PlanStep 0, PlanTxId 0, ExecStep 0, ExecTxId 0
2025-11-05T14:13:38.647611Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] no config, start with empty partitions and default config
2025-11-05T14:13:38.647641Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Txs.size=0, PlannedTxs.size=0
2025-11-05T14:13:38.647674Z node 2 :PERSQUEUE NOTICE: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-05T14:13:38.647715Z node 2 :PERSQUEUE INFO: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-05T14:13:38.648341Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [1:7569244283670059617:3281], now have 1 active actors on pipe
2025-11-05T14:13:38.648369Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [1:7569244283670059643:2445], now have 1 active actors on pipe
2025-11-05T14:13:38.648824Z node 1 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][rt3.dc1--test-topic] TEvClientConnected TabletId 72075186224037892, NodeId 2, Generation 1
2025-11-05T14:13:38.652195Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransaction SourceActor { RawX1: 7569244240720385147 RawX2: 4294969571 } TxId: 281474976710679 Config { TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--test-topic" 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--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } } }
2025-11-05T14:13:38.652382Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] Propose TxId 281474976710679, WriteId (empty maybe)
2025-11-05T14:13:38.652418Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state UNKNOWN
2025-11-05T14:13:38.652437Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State UNKNOWN
2025-11-05T14:13:38.652462Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] schedule TEvProposeTransactionResult(PREPARED)
2025-11-05T14:13:38.652483Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from UNKNOWN to PREPARING
2025-11-05T14:13:38.652539Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976710679
2025-11-05T14:13:38.652843Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] save tx TxId: 281474976710679 State: PREPARED MinStep: 1762352018567 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--test-topic" Version: 0 LocalDC: true Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } TopicPath: "/Root/PQ/rt3.dc1--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 AllPartitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7569244240720385147 RawX2: 4294969571 } Partitions { }
2025-11-05T14:13:38.652961Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T14:13:38.659564Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T14:13:38.659630Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARING
2025-11-05T14:13:38.659651Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State PREPARING
2025-11-05T14:13:38.659670Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from PREPARING to PREPARED
2025-11-05T14:13:38.665049Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransactionAttach TabletId: 72075186224037892 TxId: 281474976710679
2025-11-05T14:13:38.669124Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [1:7569244283670059688:3330], now have 1 active actors on pipe
2025-11-05T14:13:38.673353Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvTxProcessing::TEvPlanStep Transactions { TxId: 281474976710679 AckTo { RawX1: 0 RawX2: 0 } } Step: 1762352018714 MediatorID: 72057594046382081 TabletID: 72075186224037892
2025-11-05T14:13:38.673454Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARED
2025-11-05T14:13:38.673474Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State PREPARED
2025-11-05T14:13:38.673498Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from PREPARED to PLANNING
2025-11-05T14:13:38.673527Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] PlanStep 1762352018714, PlanTxId 281474976710679
2025-11-05T14:13:38.673554Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976710679
2025-11-05T14:13:38.673934Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] save tx TxId: 281474976710679 State: PLANNED MinStep: 1762352018567 MaxStep: 18446744073709551615 Step: 1762352018714 Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 1 SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "rt3.dc1--test-topic" Version: 0 LocalDC: true Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } TopicPath: "/Root/PQ/rt3.dc1--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 AllPartitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7569244240720385147 RawX2: 4294969571 } Partitions { }
2025-11-05T14:13:38.674067Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T14:13:38.678707Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T14:13:38.678745Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PLANNING
2025-11-05T14:13:38.678786Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State PLANNING
2025-11-05T14:13:38.678829Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from PLANNING to PLANNED
2025-11-05T14:13:38.678871Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxQueue.size 1
2025-11-05T14:13:38.678890Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] New ExecStep 1762352018714, ExecTxId 281474976710679
2025-11-05T14:13:38.680790Z node 2 :PERSQUEUE DEBUG: [rt3.dc1--test-topic:0:Initializer] Start initializing step TInitConfigStep
2025-11-05T14:13:38.680902Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-11-05T14:13:38.680903Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from PLANNED to CALCULATING
2025-11-05T14:13:38.681670Z node 2 :PERSQUEUE DEBUG: [rt3.dc1--test-topic:0:Initializer] Start initializing step TInitInternalFieldsStep
2025-11-05T14:13:38.682162Z node 2 :PERSQUEUE INFO: [PQ: 72075186224037892, Partition: 0, State: StateInit] bootstrapping 0 [2:7569244283846490835:2388]
2025-11-05T14:13:38.685026Z node 2 :PERSQUEUE DEBUG: [rt3.dc1--test-topic:0:Initializer] Initializing completed.
2025-11-05T14:13:38.685077Z node 2 :PERSQUEUE INFO: [PQ: 72075186224037892, Partition: 0, State: StateInit] init complete for topic 'rt3.dc1--test-topic' partition 0 generation 1 [2:7569244283846490835:2388]
2025-11-05T14:13:38.685137Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] SYNC INIT topic rt3.dc1--test-topic partitition 0 so 0 endOffset 0 Head Offset 0 PartNo 0 PackedSize 0 count 0 nextOffset 0 batches 0
2025-11-05T14:13:38.688064Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Process pending events. Count 1
2025-11-05T14:13:38.688152Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:38.688305Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.688336Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Still pending for come commits
2025-11-05T14:13:38.688364Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.688394Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.688417Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Still pending for come commits
2025-11-05T14:13:38.688477Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'rt3.dc1--test-topic' partition 0 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-11-05T14:13:38.688794Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1762352018714, TxId 281474976710679, Partition 0
2025-11-05T14:13:38.688822Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] Handle TEvProposePartitionConfigResult
2025-11-05T14:13:38.688854Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] Partition responses 1/1
2025-11-05T14:13:38.688876Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-11-05T14:13:38.688894Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State CALCULATING
2025-11-05T14:13:38.688917Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679 State CALCULATING FrontTxId 281474976710679
2025-11-05T14:13:38.688931Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-11-05T14:13:38.688957Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from CALCULATING to CALCULATED
2025-11-05T14:13:38.688990Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976710679
2025-11-05T14:13:38.689445Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] save tx TxId: 281474976710679 State: CALCULATED MinStep: 1762352018567 MaxStep: 18446744073709551615 Step: 1762352018714 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--test-topic" Version: 0 LocalDC: true Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } TopicPath: "/Root/PQ/rt3.dc1--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 AllPartitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7569244240720385147 RawX2: 4294969571 } Partitions { Partition { PartitionId: 0 } }
2025-11-05T14:13:38.689583Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T14:13:38.698542Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T14:13:38.698578Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATED
2025-11-05T14:13:38.698591Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State CALCULATED
2025-11-05T14:13:38.698608Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679 State CALCULATED FrontTxId 281474976710679
2025-11-05T14:13:38.698628Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from CALCULATED to WAIT_RS
2025-11-05T14:13:38.698704Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] Send TEvTxProcessing::TEvReadSet to 0 receivers. Wait TEvTxProcessing::TEvReadSet from 0 senders.
2025-11-05T14:13:38.698738Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] HaveParticipantsDecision 1
2025-11-05T14:13:38.698818Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from WAIT_RS to EXECUTING
2025-11-05T14:13:38.698847Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 0, Expected 1
2025-11-05T14:13:38.698868Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1762352018714, TxId 281474976710679
2025-11-05T14:13:38.698909Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.698940Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.699109Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.699348Z node 2 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-11-05T14:13:38.704218Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1762352018714, TxId 281474976710679, Partition 0
2025-11-05T14:13:38.704223Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-11-05T14:13:38.704258Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-11-05T14:13:38.704259Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:38.704286Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State EXECUTING
2025-11-05T14:13:38.704290Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.704312Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679 State EXECUTING FrontTxId 281474976710679
2025-11-05T14:13:38.704331Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-11-05T14:13:38.704365Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId: 281474976710679 send TEvPersQueue::TEvProposeTransactionResult(COMPLETE)
2025-11-05T14:13:38.704401Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] complete TxId 281474976710679
2025-11-05T14:13:38.704710Z node 2 :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--test-topic" Version: 0 LocalDC: true Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } TopicPath: "/Root/PQ/rt3.dc1--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 AllPartitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false }
2025-11-05T14:13:38.704831Z node 2 :PERSQUEUE NOTICE: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-05T14:13:38.704895Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] delete partitions for TxId 281474976710679
2025-11-05T14:13:38.704922Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from EXECUTING to EXECUTED
2025-11-05T14:13:38.704954Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976710679
2025-11-05T14:13:38.705283Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] save tx TxId: 281474976710679 State: EXECUTED MinStep: 1762352018567 MaxStep: 18446744073709551615 Step: 1762352018714 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--test-topic" Version: 0 LocalDC: true Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } TopicPath: "/Root/PQ/rt3.dc1--test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 AllPartitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7569244240720385147 RawX2: 4294969571 } Partitions { Partition { PartitionId: 0 } }
2025-11-05T14:13:38.705536Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T14:13:38.714010Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T14:13:38.714043Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTED
2025-11-05T14:13:38.714056Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State EXECUTED
2025-11-05T14:13:38.714076Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679 State EXECUTED FrontTxId 281474976710679
2025-11-05T14:13:38.714105Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TPersQueue::SendEvReadSetAckToSenders
2025-11-05T14:13:38.714121Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from EXECUTED to WAIT_RS_ACKS
2025-11-05T14:13:38.714154Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] PredicateAcks: 0/0
2025-11-05T14:13:38.714165Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] HaveAllRecipientsReceive 1, AllSupportivePartitionsHaveBeenDeleted 1
2025-11-05T14:13:38.714178Z node 2 :PQ_TX DEBUG: [TxId: 281474976710679] PredicateAcks: 0/0
2025-11-05T14:13:38.714230Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] add an TxId 281474976710679 to the list for deletion
2025-11-05T14:13:38.714260Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976710679 moved from WAIT_RS_ACKS to DELETING
2025-11-05T14:13:38.714299Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] delete key for TxId 281474976710679
2025-11-05T14:13:38.714359Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T14:13:38.717417Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T14:13:38.717452Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state DELETING
2025-11-05T14:13:38.717492Z node 2 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976710679, State DELETING
2025-11-05T14:13:38.717517Z node 2 :PQ_TX INFO: [PQ: 72075186224037892] delete TxId 281474976710679
2025-11-05T14:13:38.774641Z node 1 :KQP_EXECUTER ERROR: TxId: 281474976710680. Ctx: { TraceId: 01k9a5vd6e0vp04vdkpv51shfd, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=1&id=NjEwOWI2MjYtODMzZWM1M2QtZjczNDE2YjItNjU0OTk1MmQ=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-11-05T14:13:38.788763Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:38.788859Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--test-topic
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--test-topic"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710679
    CreateStep: 1762352018714
    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
    }
    ChildrenExist: false
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--test-topic"
    PathId: 9
    TotalGroupCount: 1
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSi...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--test-topic"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976710679
    CreateStep: 1762352018714
    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
    }
    ChildrenExist: false
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--test-topic"
    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--test-topic"
 name rt3.dc1--test-topic version1
CallPersQueueGRPC request to localhost:26114
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--test-topic"
  }
}
2025-11-05T14:13:38.806847Z node 1 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--test-topic, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
2025-11-05T14:13:38.889086Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:38.889124Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:38.989403Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:38.989442Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.089844Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.089880Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.190256Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.190296Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.290497Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.290544Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
CallPersQueueGRPC request to localhost:26114
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--test-topic"
  }
}
2025-11-05T14:13:39.309478Z node 1 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--test-topic, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
2025-11-05T14:13:39.390851Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.390884Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.494020Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.494052Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.594369Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.594396Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.694955Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.694992Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.795327Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.795382Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
CallPersQueueGRPC request to localhost:26114
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--test-topic"
  }
}
2025-11-05T14:13:39.815967Z node 1 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--test-topic"
      NumPartitions: 1
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        TopicPath: "/Root/PQ/rt3.dc1--test-topic"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Codec {
          }
          Version: 0
          Important: false
        }
      }
      ErrorCode: OK
    }
  }
}
=== Topic created, have version: 1
2025-11-05T14:13:39.824602Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: try to update token
2025-11-05T14:13:39.825499Z :INFO: [] MessageGroupId [src] SessionId [] Write session: Do CDS request
2025-11-05T14:13:39.825645Z :INFO: [] MessageGroupId [src] SessionId [] Start write session. Will connect to endpoint: localhost:26114
2025-11-05T14:13:39.837639Z node 1 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-11-05T14:13:39.837676Z node 1 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-11-05T14:13:39.864229Z :DEBUG: [] MessageGroupId [src] SessionId [] Write session: send init request: init_request { topic: "test-topic" message_group_id: "src" }
2025-11-05T14:13:39.864983Z node 1 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "test-topic" message_group_id: "src" }
2025-11-05T14:13:39.865160Z node 1 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "test-topic" message_group_id: "src" from ipv6:[::1]:33608
2025-11-05T14:13:39.865185Z node 1 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:33608 proto=v1  topic=test-topic durationSec=0
2025-11-05T14:13:39.865198Z node 1 :PQ_WRITE_PROXY INFO: init check schema
2025-11-05T14:13:39.867060Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-05T14:13:39.867226Z node 1 :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-11-05T14:13:39.867237Z node 1 :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-11-05T14:13:39.867427Z node 1 :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-11-05T14:13:39.867448Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) StartKqpSession
2025-11-05T14:13:39.869428Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) Select from the table
2025-11-05T14:13:39.895658Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.895702Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:39.999448Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:39.999492Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.009718Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) RequestPQRB
2025-11-05T14:13:40.010107Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994513:2481] connected; active server actors: 1
2025-11-05T14:13:40.010209Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=src
2025-11-05T14:13:40.010230Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) Update the table
2025-11-05T14:13:40.011979Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994513:2481] disconnected; active server actors: 1
2025-11-05T14:13:40.012099Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994513:2481] disconnected no session
2025-11-05T14:13:40.099436Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.099470Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.116947Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-05T14:13:40.117112Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-05T14:13:40.117136Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244287965027178:2481] (SourceId=src, PreferedPartition=(NULL)) Start idle
2025-11-05T14:13:40.117173Z node 1 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-05T14:13:40.118146Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [1:7569244292259994531:2481], now have 1 active actors on pipe
2025-11-05T14:13:40.118286Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 2, Generation: 1
2025-11-05T14:13:40.118435Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.118478Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.118580Z node 2 :PERSQUEUE INFO: new Cookie src|12f272de-1933833e-9612ec5c-431b958_0 generated for partition 0 topic 'rt3.dc1--test-topic' owner src
2025-11-05T14:13:40.118662Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.118702Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.118750Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.118850Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyOwnerOk. Partition: 0
2025-11-05T14:13:40.118967Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T14:13:40.120087Z node 1 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: src|12f272de-1933833e-9612ec5c-431b958_0
2025-11-05T14:13:40.119588Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.119620Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.122263Z :INFO: [] MessageGroupId [src] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1762352020122 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-05T14:13:40.119724Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T14:13:40.122491Z :INFO: [] MessageGroupId [src] SessionId [] Write session established. Init response: session_id: "src|12f272de-1933833e-9612ec5c-431b958_0" topic: "test-topic" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-11-05T14:13:40.122869Z :INFO: [] MessageGroupId [src] SessionId [src|12f272de-1933833e-9612ec5c-431b958_0] Write session: close. Timeout = 0 ms
2025-11-05T14:13:40.122964Z :INFO: [] MessageGroupId [src] SessionId [src|12f272de-1933833e-9612ec5c-431b958_0] Write session will now close
2025-11-05T14:13:40.123046Z :DEBUG: [] MessageGroupId [src] SessionId [src|12f272de-1933833e-9612ec5c-431b958_0] Write session: aborting
2025-11-05T14:13:40.123559Z :INFO: [] MessageGroupId [src] SessionId [src|12f272de-1933833e-9612ec5c-431b958_0] Write session: gracefully shut down, all writes complete
2025-11-05T14:13:40.123615Z :DEBUG: [] MessageGroupId [src] SessionId [src|12f272de-1933833e-9612ec5c-431b958_0] Write session: destroy
2025-11-05T14:13:40.135800Z node 1 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: src|12f272de-1933833e-9612ec5c-431b958_0 grpc read done: success: 0 data: 
2025-11-05T14:13:40.135845Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|12f272de-1933833e-9612ec5c-431b958_0 grpc read failed
2025-11-05T14:13:40.135891Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|12f272de-1933833e-9612ec5c-431b958_0 grpc closed
2025-11-05T14:13:40.135911Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|12f272de-1933833e-9612ec5c-431b958_0 is DEAD
2025-11-05T14:13:40.143171Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-05T14:13:40.144598Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server disconnected, pipe [1:7569244292259994531:2481] destroyed
2025-11-05T14:13:40.144636Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-11-05T14:13:40.144705Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.144736Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
Session was created
Got new write session event: ReadyToAcceptEvent
Got new write session event: ReadyToAcceptEvent
2025-11-05T14:13:40.199753Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.199782Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
>>> Ready to answer: ok
2025-11-05T14:13:40.208802Z :INFO: [/Root] [] [] Start federated write session to database 'dc1' (previous was <empty>) FederationState: { Status: SUCCESS SelfLocation: "fancy_datacenter" DbInfos: [ { name: "dc1" path: "/Root" id: "account-dc1" endpoint: "localhost:26114" location: "dc1" status: AVAILABLE weight: 1000 } { name: "dc2" path: "/Root" id: "account-dc2" endpoint: "localhost:26114" location: "dc2" status: AVAILABLE weight: 500 } { name: "dc3" path: "/Root" id: "account-dc3" endpoint: "localhost:26114" location: "dc3" status: AVAILABLE weight: 500 } ] }
2025-11-05T14:13:40.220578Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session: try to update token
2025-11-05T14:13:40.221477Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Start write session. Will connect to nodeId: 0
2025-11-05T14:13:40.226700Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session: write to message_group: src_id
2025-11-05T14:13:40.227422Z node 1 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-11-05T14:13:40.227445Z node 1 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-11-05T14:13:40.242273Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session: send init request: init_request { path: "test-topic" message_group_id: "src_id" }
2025-11-05T14:13:40.242739Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-11-05T14:13:40.243061Z node 1 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { path: "test-topic" message_group_id: "src_id" }
2025-11-05T14:13:40.243222Z node 1 :PQ_WRITE_PROXY INFO: session request cookie: 2 path: "test-topic" message_group_id: "src_id" from ipv6:[::1]:33624
2025-11-05T14:13:40.243248Z node 1 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="topic server" ip=ipv6:[::1]:33624 proto=topic  topic=test-topic durationSec=0
2025-11-05T14:13:40.243260Z node 1 :PQ_WRITE_PROXY INFO: init check schema
2025-11-05T14:13:40.244908Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-05T14:13:40.245039Z node 1 :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-11-05T14:13:40.245050Z node 1 :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-11-05T14:13:40.245058Z node 1 :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-11-05T14:13:40.245076Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) StartKqpSession
2025-11-05T14:13:40.247220Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) Select from the table
2025-11-05T14:13:40.252150Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) RequestPQRB
2025-11-05T14:13:40.252563Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994566:2498] connected; active server actors: 1
2025-11-05T14:13:40.252601Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=src_id
2025-11-05T14:13:40.252615Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) Update the table
2025-11-05T14:13:40.253265Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994566:2498] disconnected; active server actors: 1
2025-11-05T14:13:40.253323Z node 1 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][rt3.dc1--test-topic] pipe [1:7569244292259994566:2498] disconnected no session
2025-11-05T14:13:40.260184Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-11-05T14:13:40.260211Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-11-05T14:13:40.260248Z node 1 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [1:7569244292259994548:2498] (SourceId=src_id, PreferedPartition=(NULL)) Start idle
2025-11-05T14:13:40.260272Z node 1 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-05T14:13:40.261007Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [1:7569244292259994578:2498], now have 1 active actors on pipe
2025-11-05T14:13:40.261257Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 2, Generation: 1
2025-11-05T14:13:40.261666Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.261706Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.261822Z node 2 :PERSQUEUE INFO: new Cookie src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 generated for partition 0 topic 'rt3.dc1--test-topic' owner src_id
2025-11-05T14:13:40.261869Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.261902Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.261952Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.262025Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyOwnerOk. Partition: 0
2025-11-05T14:13:40.262132Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T14:13:40.262748Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.262788Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.262898Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T14:13:40.263253Z node 1 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0
2025-11-05T14:13:40.264124Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session: OnReadDone gRpcStatusCode: 0
2025-11-05T14:13:40.264214Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1762352020264 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-05T14:13:40.264353Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [src_id] Write session established. Init response: session_id: "src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0" supported_codecs { codecs: 1 codecs: 2 codecs: 3 }
2025-11-05T14:13:40.264624Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write 1 messages with Id from 1 to 1
2025-11-05T14:13:40.265328Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: try to update token
2025-11-05T14:13:40.265412Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Send 1 message(s) (0 left), first sequence number is 1
2025-11-05T14:13:40.266306Z node 1 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-11-05T14:13:40.266670Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-11-05T14:13:40.269078Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.269118Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.269259Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-11-05T14:13:40.269683Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-11-05T14:13:40.270141Z node 2 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--test-topic' requestId: <none>
2025-11-05T14:13:40.270166Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'rt3.dc1--test-topic' partition 0
2025-11-05T14:13:40.270522Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message topic: rt3.dc1--test-topic partition: 0 SourceId: '\0src_id' SeqNo: 1 partNo : 0 messageNo: 1 size 96 offset: -1
2025-11-05T14:13:40.270646Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.270683Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.270816Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'rt3.dc1--test-topic' partition 0 part blob processing sourceId '\0src_id' seqNo 1 partNo 0
2025-11-05T14:13:40.300616Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'rt3.dc1--test-topic' partition 0 part blob complete sourceId '\0src_id' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 0 PartNo 0 PackedSize 170 count 1 nextOffset 1 batches 1
2025-11-05T14:13:40.300709Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.301269Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Add new write blob: topic 'rt3.dc1--test-topic' partition 0 compactOffset 0,1 HeadOffset 0 endOffset 0 curOffset 1 d0000000000_00000000000000000000_00000_0000000001_00000| size 158 WTime 1762352020301
2025-11-05T14:13:40.301467Z node 2 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-11-05T14:13:40.301484Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Can't process txs
2025-11-05T14:13:40.301564Z node 2 :PERSQUEUE DEBUG: CacheProxy. Passthrough blob. Partition 0 offset 0 partNo 0 count 1 size 158
2025-11-05T14:13:40.304341Z node 2 :PERSQUEUE DEBUG: Caching head blob in L1. Partition 0 offset 0 count 1 size 158 actorID [2:7569244283846490815:2387]
2025-11-05T14:13:40.304463Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 103 WriteNewSizeFromSupportivePartitions# 0
2025-11-05T14:13:40.304481Z node 2 :PERSQUEUE DEBUG: PQ Cache (L2). Adding blob. Tablet '72075186224037892' partition 0 offset 0 partno 0 count 1 parts 0 size 158
2025-11-05T14:13:40.304521Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyWrite. Partition: 0
2025-11-05T14:13:40.304588Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Answering for message sourceid: '\0src_id', Topic: 'rt3.dc1--test-topic', Partition: 0, SeqNo: 1, partNo: 0, Offset: 0 is stored on disk
2025-11-05T14:13:40.304779Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'rt3.dc1--test-topic' partition 0 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-11-05T14:13:40.304825Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'rt3.dc1--test-topic' partition 0 user user send read request for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 1 rrg 0
2025-11-05T14:13:40.304851Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.304868Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.304940Z node 2 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--test-topic' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-11-05T14:13:40.305072Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] read cookie 0 Topic 'rt3.dc1--test-topic' partition 0 user user offset 0 count 1 size 1024000 endOffset 1 max time lag 0ms effective offset 0
2025-11-05T14:13:40.305121Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] read cookie 0 added 0 blobs, size 0 count 0 last offset 0, current partition end offset: 1
2025-11-05T14:13:40.305170Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Reading cookie 0. All data is from uncompacted head.
2025-11-05T14:13:40.305200Z node 2 :PERSQUEUE DEBUG: FormAnswer for 0 blobs
2025-11-05T14:13:40.305277Z node 2 :PERSQUEUE DEBUG: Topic 'rt3.dc1--test-topic' partition 0 user user readTimeStamp done, result 1762352020268 queuesize 0 startOffset 0
2025-11-05T14:13:40.306329Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-11-05T14:13:40.307000Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: OnReadDone gRpcStatusCode: 0
2025-11-05T14:13:40.307643Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session got write response: acks { seq_no: 1 written { } } write_statistics { persisting_time { nanos: 3000000 } min_queue_wait_time { nanos: 31000000 } max_queue_wait_time { nanos: 31000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-11-05T14:13:40.307690Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] OnAck: seqNo=1, txId=?
2025-11-05T14:13:40.307726Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: acknoledged message 1
Got new write session event: AcksEvent: { seqNo : 1, State : EES_WRITTEN, offset : 0, partitionId : 0 } write stat: Write time 0.003000s minimal time in partition queue 0.031000s maximal time in partition queue 0.031000s partition quoted time 0.000000s topic quoted time 0.000000s
2025-11-05T14:13:40.308616Z :INFO: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: close. Timeout 0.000000s
2025-11-05T14:13:40.308651Z :INFO: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session will now close
2025-11-05T14:13:40.308724Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: aborting
2025-11-05T14:13:40.309636Z node 1 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 grpc read done: success: 0 data: 
2025-11-05T14:13:40.309663Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 grpc read failed
2025-11-05T14:13:40.309696Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 grpc closed
2025-11-05T14:13:40.309716Z node 1 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0 is DEAD
2025-11-05T14:13:40.310824Z node 1 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-05T14:13:40.311172Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server disconnected, pipe [1:7569244292259994578:2498] destroyed
2025-11-05T14:13:40.311201Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-11-05T14:13:40.311227Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.311243Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.312933Z :INFO: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: gracefully shut down, all writes complete
2025-11-05T14:13:40.313925Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-11-05T14:13:40.313983Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session is aborting and will not restart
2025-11-05T14:13:40.314084Z :DEBUG: [/Root]  TraceId []  SessionId [src_id|a5862475-f9ea16ca-9ad3eec9-94c9ab76_0]  MessageGroupId [src_id] Write session: destroy
2025-11-05T14:13:40.401464Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.401497Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T14:13:40.502605Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T14:13:40.502640Z node 2 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
