test_client.cpp: SetPath # /home/runner/.ya/build/build_root/4xc1/003f71/r3tmp/tmp0rUVPS/pdisk_1.dat
2025-11-05T13:42:27.734828Z node 3 :PQ_READ_PROXY DEBUG: Direct read cache: : Created
2025-11-05T13:42:27.735037Z node 2 :PQ_READ_PROXY DEBUG: Direct read cache: : Created
2025-11-05T13:42:27.736939Z 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-05T13:42:27.744367Z node 3 :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-05T13:42:27.779135Z node 3 :CONFIGS_DISPATCHER ERROR: Notification cookie mismatch for subscription [3:7569236246645481895:2073] 1762350147718226 != 1762350147718229
2025-11-05T13:42:27.782797Z node 2 :IMPORT WARN: Table profiles were not loaded
TServer::EnableGrpc on GrpcPort 30397, node 2
2025-11-05T13:42:27.821765Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-05T13:42:27.821800Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-05T13:42:27.825714Z node 2 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/4xc1/003f71/r3tmp/yandex5vrVEb.tmp
2025-11-05T13:42:27.825733Z node 2 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/4xc1/003f71/r3tmp/yandex5vrVEb.tmp
2025-11-05T13:42:27.829411Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(2, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-05T13:42:27.836018Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(3, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-11-05T13:42:27.836050Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(3, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-11-05T13:42:27.837115Z node 2 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 3 Cookie 3
2025-11-05T13:42:27.838388Z INFO: TTestServer started on Port 13421 GrpcPort 30397
2025-11-05T13:42:27.842019Z node 2 :HIVE WARN: HIVE#72057594037968897 Node(3, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-11-05T13:42:27.849536Z node 2 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/4xc1/003f71/r3tmp/yandex5vrVEb.tmp
2025-11-05T13:42:27.849751Z node 2 :NET_CLASSIFIER ERROR: got bad distributable configuration
TClient is connected to server localhost:13421
PQClient connected to localhost:30397
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-05T13:42:27.882199Z node 2 :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-11-05T13:42:27.982960Z node 2 :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-11-05T13:42:28.190672Z node 2 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [2:7569236253758954305:2317], 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-05T13:42:28.190933Z node 2 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=2&id=YWY0NjM0YmYtODJjYTZlOWUtMTIzOWQ0N2YtNzZlZTYyMg==, ActorId: [2:7569236253758954302:2315], ActorState: ExecuteState, TraceId: 01k9a42ajtakf52p4qak3ygnsj, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-11-05T13:42:28.191073Z 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-05T13:42:28.203797Z node 2 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715662:0, at schemeshard:  72057594046644480
2025-11-05T13:42:28.266629Z node 2 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480
2025-11-05T13:42:28.298427Z node 2 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
=== CheckClustersList. Subcribe to ClusterTracker from [2:7569236253758954719:2971] 
2025-11-05T13:42:28.721808Z node 2 :TX_CONVEYOR ERROR: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
2025-11-05T13:42:28.732555Z node 3 :TX_CONVEYOR ERROR: fline=service.h:53;problem=unexpected event for task executor;ev_type=NActors::TEvents::TEvWakeup;
=== CheckClustersList. Ok
2025-11-05T13:42:33.493863Z :WithoutPartitionUnknownEndpoint INFO: TTopicSdkTestSetup started
{"NodeId":2,"Down":true}
2025-11-05T13:42:33.505978Z node 2 :PQ_READ_PROXY DEBUG: new create topic request
2025-11-05T13:42:33.550587Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvInterconnect::TEvNodeInfo
2025-11-05T13:42:33.550939Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-11-05T13:42:33.554766Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Transactions request. From tx_00000000000000000000, To tx_18446744073709551615
2025-11-05T13:42:33.554860Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] doesn't have tx info
2025-11-05T13:42:33.554866Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] PlanStep 0, PlanTxId 0, ExecStep 0, ExecTxId 0
2025-11-05T13:42:33.554868Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] no config, start with empty partitions and default config
2025-11-05T13:42:33.554872Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Txs.size=0, PlannedTxs.size=0
2025-11-05T13:42:33.554880Z node 3 :PERSQUEUE NOTICE: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-05T13:42:33.554893Z node 3 :PERSQUEUE INFO: [PQ: 72075186224037892] doesn't have tx writes info
2025-11-05T13:42:33.565948Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][] pipe [2:7569236275233791625:3241] connected; active server actors: 1
2025-11-05T13:42:33.565973Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [2:7569236275233791624:3240], now have 1 active actors on pipe
2025-11-05T13:42:33.566491Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] updating configuration. Deleted partitions []. Added partitions [0]
2025-11-05T13:42:33.566776Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransaction SourceActor { RawX1: 7569236249463986395 RawX2: 8589936799 } TxId: 281474976715671 Config { TabletConfig { PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/test-topic" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } Consumers { Name: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 } } }
2025-11-05T13:42:33.566812Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] Propose TxId 281474976715671, WriteId (empty maybe)
2025-11-05T13:42:33.566820Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state UNKNOWN
2025-11-05T13:42:33.566824Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State UNKNOWN
2025-11-05T13:42:33.566828Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] schedule TEvProposeTransactionResult(PREPARED)
2025-11-05T13:42:33.566832Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from UNKNOWN to PREPARING
2025-11-05T13:42:33.566841Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715671
2025-11-05T13:42:33.566898Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] save tx TxId: 281474976715671 State: PREPARED MinStep: 1762350153536 MaxStep: 18446744073709551615 Kind: KIND_CONFIG TabletConfig { PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/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: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 Generation: 0 } } BootstrapConfig { } SourceActor { RawX1: 7569236249463986395 RawX2: 8589936799 } Partitions { }
2025-11-05T13:42:33.566923Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T13:42:33.567368Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-11-05T13:42:33.567950Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] TEvClientConnected TabletId 72075186224037892, NodeId 3, Generation 1
2025-11-05T13:42:33.567965Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [3:7569236272415286212:2298], now have 1 active actors on pipe
2025-11-05T13:42:33.568491Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] BALANCER INIT DONE for test-topic: (0, 72075186224037892) 
2025-11-05T13:42:33.572535Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] TEvClientConnected TabletId 72057594046644480, NodeId 2, Generation 2
2025-11-05T13:42:33.573982Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T13:42:33.573999Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARING
2025-11-05T13:42:33.574002Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State PREPARING
2025-11-05T13:42:33.574006Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from PREPARING to PREPARED
2025-11-05T13:42:33.574962Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransactionAttach TabletId: 72075186224037892 TxId: 281474976715671
2025-11-05T13:42:33.575553Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [2:7569236275233791663:3273], now have 1 active actors on pipe
2025-11-05T13:42:33.575833Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvTxProcessing::TEvPlanStep Transactions { TxId: 281474976715671 AckTo { RawX1: 0 RawX2: 0 } } Step: 1762350153620 MediatorID: 72057594046382081 TabletID: 72075186224037892
2025-11-05T13:42:33.575850Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARED
2025-11-05T13:42:33.575852Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State PREPARED
2025-11-05T13:42:33.575857Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from PREPARED to PLANNING
2025-11-05T13:42:33.575861Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] PlanStep 1762350153620, PlanTxId 281474976715671
2025-11-05T13:42:33.575865Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715671
2025-11-05T13:42:33.575962Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] save tx TxId: 281474976715671 State: PLANNED MinStep: 1762350153536 MaxStep: 18446744073709551615 Step: 1762350153620 Kind: KIND_CONFIG TabletConfig { PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/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: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 Generation: 0 } } BootstrapConfig { } SourceActor { RawX1: 7569236249463986395 RawX2: 8589936799 } Partitions { }
2025-11-05T13:42:33.575987Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T13:42:33.576937Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T13:42:33.576945Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state PLANNING
2025-11-05T13:42:33.576946Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State PLANNING
2025-11-05T13:42:33.576948Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from PLANNING to PLANNED
2025-11-05T13:42:33.576951Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxQueue.size 1
2025-11-05T13:42:33.576953Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] New ExecStep 1762350153620, ExecTxId 281474976715671
2025-11-05T13:42:33.577069Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from PLANNED to CALCULATING
2025-11-05T13:42:33.577081Z node 3 :PERSQUEUE DEBUG: [test-topic:0:Initializer] Start initializing step TInitConfigStep
2025-11-05T13:42:33.577089Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-11-05T13:42:33.577140Z node 3 :PERSQUEUE DEBUG: [test-topic:0:Initializer] Start initializing step TInitInternalFieldsStep
2025-11-05T13:42:33.577195Z node 3 :PERSQUEUE INFO: [PQ: 72075186224037892, Partition: 0, State: StateInit] bootstrapping 0 [3:7569236272415286223:2301]
2025-11-05T13:42:33.577378Z node 3 :PERSQUEUE DEBUG: [test-topic:0:Initializer] Initializing completed.
2025-11-05T13:42:33.577382Z node 3 :PERSQUEUE INFO: [PQ: 72075186224037892, Partition: 0, State: StateInit] init complete for topic 'test-topic' partition 0 generation 1 [3:7569236272415286223:2301]
2025-11-05T13:42:33.577386Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] SYNC INIT topic test-topic partitition 0 so 0 endOffset 0 Head Offset 0 PartNo 0 PackedSize 0 count 0 nextOffset 0 batches 0
2025-11-05T13:42:33.577463Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Process pending events. Count 1
2025-11-05T13:42:33.577479Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.577495Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.577503Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Still pending for come commits
2025-11-05T13:42:33.577504Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.577506Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.577507Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Still pending for come commits
2025-11-05T13:42:33.577515Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Topic 'test-topic' partition 0 user test-consumer readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-11-05T13:42:33.577569Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1762350153620, TxId 281474976715671, Partition 0
2025-11-05T13:42:33.577576Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] Handle TEvProposePartitionConfigResult
2025-11-05T13:42:33.577580Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] Partition responses 1/1
2025-11-05T13:42:33.577581Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-11-05T13:42:33.577583Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State CALCULATING
2025-11-05T13:42:33.577585Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671 State CALCULATING FrontTxId 281474976715671
2025-11-05T13:42:33.577588Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-11-05T13:42:33.577591Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from CALCULATING to CALCULATED
2025-11-05T13:42:33.577594Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715671
2025-11-05T13:42:33.577679Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] save tx TxId: 281474976715671 State: CALCULATED MinStep: 1762350153536 MaxStep: 18446744073709551615 Step: 1762350153620 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/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: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 Generation: 0 } } BootstrapConfig { } SourceActor { RawX1: 7569236249463986395 RawX2: 8589936799 } Partitions { Partition { PartitionId: 0 } }
2025-11-05T13:42:33.577696Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T13:42:33.579468Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T13:42:33.579478Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATED
2025-11-05T13:42:33.579479Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State CALCULATED
2025-11-05T13:42:33.579482Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671 State CALCULATED FrontTxId 281474976715671
2025-11-05T13:42:33.579484Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from CALCULATED to WAIT_RS
2025-11-05T13:42:33.579495Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] Send TEvTxProcessing::TEvReadSet to 0 receivers. Wait TEvTxProcessing::TEvReadSet from 0 senders.
2025-11-05T13:42:33.579498Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] HaveParticipantsDecision 1
2025-11-05T13:42:33.579511Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from WAIT_RS to EXECUTING
2025-11-05T13:42:33.579514Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 0, Expected 1
2025-11-05T13:42:33.579525Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1762350153620, TxId 281474976715671
2025-11-05T13:42:33.579538Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.579541Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.579576Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.579614Z node 3 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-11-05T13:42:33.580263Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-11-05T13:42:33.580275Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.580276Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.580283Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1762350153620, TxId 281474976715671, Partition 0
2025-11-05T13:42:33.580286Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-11-05T13:42:33.580288Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State EXECUTING
2025-11-05T13:42:33.580291Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671 State EXECUTING FrontTxId 281474976715671
2025-11-05T13:42:33.580294Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Received 1, Expected 1
2025-11-05T13:42:33.580300Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId: 281474976715671 send TEvPersQueue::TEvProposeTransactionResult(COMPLETE)
2025-11-05T13:42:33.580307Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] complete TxId 281474976715671
2025-11-05T13:42:33.580378Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Apply new config PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/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: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 Generation: 0 }
2025-11-05T13:42:33.580400Z node 3 :PERSQUEUE NOTICE: [PQ: 72075186224037892] disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-11-05T13:42:33.580410Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] delete partitions for TxId 281474976715671
2025-11-05T13:42:33.580417Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from EXECUTING to EXECUTED
2025-11-05T13:42:33.580422Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715671
2025-11-05T13:42:33.580489Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] save tx TxId: 281474976715671 State: EXECUTED MinStep: 1762350153536 MaxStep: 18446744073709551615 Step: 1762350153620 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { MaxCountInPartition: 2147483647 LifetimeSeconds: 3600 SourceIdLifetimeSeconds: 1382400 WriteSpeedInBytesPerSecond: 1048576 BurstSize: 1048576 TotalPartitions: 1 ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } ExplicitChannelProfiles { PoolKind: "test" } SourceIdMaxCounts: 6000000 } PartitionIds: 0 TopicName: "test-topic" Version: 0 RequireAuthWrite: true RequireAuthRead: true FormatVersion: 0 Codecs { } TopicPath: "/Root/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: "test-consumer" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } ServiceType: "data-streams" Version: 0 Generation: 0 } } BootstrapConfig { } SourceActor { RawX1: 7569236249463986395 RawX2: 8589936799 } Partitions { Partition { PartitionId: 0 } }
2025-11-05T13:42:33.580520Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T13:42:33.581763Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-11-05T13:42:33.581787Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T13:42:33.581792Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTED
2025-11-05T13:42:33.581794Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State EXECUTED
2025-11-05T13:42:33.581795Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671 State EXECUTED FrontTxId 281474976715671
2025-11-05T13:42:33.581798Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TPersQueue::SendEvReadSetAckToSenders
2025-11-05T13:42:33.581800Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from EXECUTED to WAIT_RS_ACKS
2025-11-05T13:42:33.581803Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] PredicateAcks: 0/0
2025-11-05T13:42:33.581805Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] HaveAllRecipientsReceive 1, AllSupportivePartitionsHaveBeenDeleted 1
2025-11-05T13:42:33.581807Z node 3 :PQ_TX DEBUG: [TxId: 281474976715671] PredicateAcks: 0/0
2025-11-05T13:42:33.581809Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] add an TxId 281474976715671 to the list for deletion
2025-11-05T13:42:33.581811Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] TxId 281474976715671 moved from WAIT_RS_ACKS to DELETING
2025-11-05T13:42:33.581815Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] delete key for TxId 281474976715671
2025-11-05T13:42:33.581822Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-11-05T13:42:33.581835Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-11-05T13:42:33.582860Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-11-05T13:42:33.582877Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] Try execute txs with state DELETING
2025-11-05T13:42:33.582880Z node 3 :PQ_TX DEBUG: [PQ: 72075186224037892] TxId 281474976715671, State DELETING
2025-11-05T13:42:33.582883Z node 3 :PQ_TX INFO: [PQ: 72075186224037892] delete TxId 281474976715671
2025-11-05T13:42:33.583033Z :DEBUG: [/Root] MessageGroupId [src] SessionId [] Write session: try to update token
2025-11-05T13:42:33.583285Z :INFO: [/Root] MessageGroupId [src] SessionId [] Write session: Do CDS request
2025-11-05T13:42:33.583291Z :INFO: [/Root] MessageGroupId [src] SessionId [] Start write session. Will connect to endpoint: localhost:30397
2025-11-05T13:42:33.585990Z :DEBUG: [/Root] MessageGroupId [src] SessionId [] Write session: send init request: init_request { topic: "test-topic" message_group_id: "src" }
2025-11-05T13:42:33.586395Z node 2 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-11-05T13:42:33.586415Z node 2 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-11-05T13:42:33.586571Z node 2 :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-05T13:42:33.586597Z node 2 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "test-topic" message_group_id: "src" from ipv6:[::1]:53728
2025-11-05T13:42:33.586601Z node 2 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:53728 proto=v1  topic=test-topic durationSec=0
2025-11-05T13:42:33.586604Z node 2 :PQ_WRITE_PROXY INFO: init check schema
2025-11-05T13:42:33.587846Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-11-05T13:42:33.587877Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-11-05T13:42:33.587879Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-05T13:42:33.587880Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-11-05T13:42:33.587890Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [2:7569236275233791707:2423] (SourceId=src, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-11-05T13:42:33.587894Z node 2 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-05T13:42:33.588135Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [2:7569236275233791710:2423], now have 1 active actors on pipe
2025-11-05T13:42:33.588189Z node 2 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 3, Generation: 1
2025-11-05T13:42:33.588313Z node 3 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'test-topic' requestId: <none>
2025-11-05T13:42:33.588321Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'test-topic' partition 0
2025-11-05T13:42:33.588348Z node 3 :PERSQUEUE INFO: new Cookie src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0 generated for partition 0 topic 'test-topic' owner src
2025-11-05T13:42:33.588358Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.588362Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.588373Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.588380Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyOwnerOk. Partition: 0
2025-11-05T13:42:33.588396Z node 3 :PERSQUEUE DEBUG: Answer ok topic: 'test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T13:42:33.588560Z node 3 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'test-topic' requestId: <none>
2025-11-05T13:42:33.588568Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'test-topic' partition 0
2025-11-05T13:42:33.588582Z node 3 :PERSQUEUE DEBUG: Answer ok topic: 'test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T13:42:33.588658Z node 2 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 0 MaxSeqNo: 0 sessionId: src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0
2025-11-05T13:42:33.589074Z :INFO: [/Root] MessageGroupId [src] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1762350153589 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-05T13:42:33.589113Z :INFO: [/Root] MessageGroupId [src] SessionId [] Write session established. Init response: session_id: "src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0" topic: "test-topic"
2025-11-05T13:42:33.589250Z :INFO: [/Root] MessageGroupId [src] SessionId [src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0] Write session: close. Timeout = 0 ms
2025-11-05T13:42:33.589263Z :INFO: [/Root] MessageGroupId [src] SessionId [src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0] Write session will now close
2025-11-05T13:42:33.589272Z :DEBUG: [/Root] MessageGroupId [src] SessionId [src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0] Write session: aborting
2025-11-05T13:42:33.589449Z :INFO: [/Root] MessageGroupId [src] SessionId [src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0] Write session: gracefully shut down, all writes complete
2025-11-05T13:42:33.589457Z :DEBUG: [/Root] MessageGroupId [src] SessionId [src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0] Write session: destroy
2025-11-05T13:42:33.591402Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server disconnected, pipe [2:7569236275233791710:2423] destroyed
2025-11-05T13:42:33.591424Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-11-05T13:42:33.591431Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.591433Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.590852Z node 2 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0 grpc read done: success: 0 data: 
2025-11-05T13:42:33.590861Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0 grpc read failed
2025-11-05T13:42:33.590869Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0 grpc closed
2025-11-05T13:42:33.590874Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: src|9a5c51c6-6672ccdd-1ca01327-93ef53e1_0 is DEAD
2025-11-05T13:42:33.591180Z node 2 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
{"NodeId":2,"Down":false}
==== TMockDiscovery server started on port 17912
==== TMockDiscovery add endpoints, firstNodeId 2, nodeCount 1, port 30397
 ==== ListEndpoints request: database: "/Root"
==== ListEndpoints response: operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "localhost" port: 30397 node_id: 2 } } } }
====TYdbPqTestRetryPolicy()
====ExpectBreakDown
2025-11-05T13:42:33.601239Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-11-05T13:42:33.601396Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-11-05T13:42:33.604085Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-11-05T13:42:33.604119Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "test-topic" message_group_id: "test-message_group_id" }
2025-11-05T13:42:33.604123Z :TRACE: [/Root] TRACE_EVENT InitRequest 
2025-11-05T13:42:33.604234Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-11-05T13:42:33.604395Z node 2 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-11-05T13:42:33.604411Z node 2 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-11-05T13:42:33.604556Z node 2 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { path: "test-topic" message_group_id: "test-message_group_id" }
2025-11-05T13:42:33.604590Z node 2 :PQ_WRITE_PROXY INFO: session request cookie: 2 path: "test-topic" message_group_id: "test-message_group_id" from ipv6:[::1]:53718
2025-11-05T13:42:33.604601Z node 2 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="topic server" ip=ipv6:[::1]:53718 proto=topic  topic=test-topic durationSec=0
2025-11-05T13:42:33.604604Z node 2 :PQ_WRITE_PROXY INFO: init check schema
2025-11-05T13:42:33.604934Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-11-05T13:42:33.604988Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-11-05T13:42:33.604995Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-05T13:42:33.604997Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-11-05T13:42:33.605010Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [2:7569236275233791717:2430] (SourceId=test-message_group_id, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=0
2025-11-05T13:42:33.605014Z node 2 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-11-05T13:42:33.605541Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [2:7569236275233791720:2430], now have 1 active actors on pipe
2025-11-05T13:42:33.605613Z node 2 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 3, Generation: 1
2025-11-05T13:42:33.605774Z node 3 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'test-topic' requestId: <none>
2025-11-05T13:42:33.605790Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'test-topic' partition 0
2025-11-05T13:42:33.605822Z node 3 :PERSQUEUE INFO: new Cookie test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0 generated for partition 0 topic 'test-topic' owner test-message_group_id
2025-11-05T13:42:33.605843Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.605848Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.605860Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.605871Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyOwnerOk. Partition: 0
2025-11-05T13:42:33.605906Z node 3 :PERSQUEUE DEBUG: Answer ok topic: 'test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T13:42:33.606196Z node 3 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'test-topic' requestId: <none>
2025-11-05T13:42:33.606202Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'test-topic' partition 0
2025-11-05T13:42:33.606224Z node 3 :PERSQUEUE DEBUG: Answer ok topic: 'test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T13:42:33.606374Z node 2 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0
2025-11-05T13:42:33.606679Z :DEBUG: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-11-05T13:42:33.606708Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1762350153606 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-11-05T13:42:33.606728Z :INFO: [/Root]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0"
2025-11-05T13:42:33.606733Z :TRACE: [/Root] TRACE_EVENT InitResponse  partition_id=0 session_id=test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0
2025-11-05T13:42:33.606744Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-11-05T13:42:33.606813Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-11-05T13:42:33.606823Z :TRACE: [/Root] TRACE_EVENT DescribePartitionRequest  path=/Root/test-topic partition_id=0
2025-11-05T13:42:33.606858Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-11-05T13:42:33.607491Z node 2 :PQ_READ_PROXY DEBUG: new Describe partition request
2025-11-05T13:42:33.607516Z node 2 :PQ_READ_PROXY DEBUG: TDescribePartitionActor for request path: "/Root/test-topic"
include_location: true
2025-11-05T13:42:33.607528Z node 2 :PQ_READ_PROXY DEBUG: TDescribePartitionActor[2:7569236275233791722:2432]: Bootstrap
2025-11-05T13:42:33.608120Z node 2 :PQ_READ_PROXY DEBUG: DescribeTopicImpl [2:7569236275233791722:2432]: Request location
2025-11-05T13:42:33.608336Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236275233791731:2433] connected; active server actors: 1
2025-11-05T13:42:33.608508Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] addPartitionToResponse tabletId 72075186224037892, partitionId 0, NodeId 3, Generation 1
2025-11-05T13:42:33.608684Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236275233791731:2433] disconnected; active server actors: 1
2025-11-05T13:42:33.608694Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236275233791731:2433] disconnected no session
2025-11-05T13:42:33.608581Z node 2 :PQ_READ_PROXY DEBUG: DescribeTopicImpl [2:7569236275233791722:2432]: Got location
2025-11-05T13:42:33.608907Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 3
    generation: 1
  }
}
2025-11-05T13:42:33.608926Z :TRACE: [/Root] TRACE_EVENT DescribePartitionResponse  partition_id=0 active=1 pl_node_id=3 pl_generation=1
2025-11-05T13:42:33.608937Z :ERROR: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, nodeId 3 does not exist in the endpoint pool.
2025-11-05T13:42:33.609121Z :TRACE: [/Root] TRACE_EVENT Error  status=UNAVAILABLE
====CreateRetryState
====CreateRetryState Initialized
Test retry state: get retry delay
2025-11-05T13:42:33.609146Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Got error. Status: UNAVAILABLE, Description: <main>: Error: Partition preferred endpoint is not found 
2025-11-05T13:42:33.609150Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Write session will restart in 2.000000s
2025-11-05T13:42:33.609157Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 2.000000s
2025-11-05T13:42:33.609164Z :TRACE: [/Root] TRACE_EVENT DescribePartitionRequest  path=/Root/test-topic partition_id=0
=== TMockDiscovery set good endpoint nodes 
==== TMockDiscovery add endpoints, firstNodeId 2, nodeCount 2, port 30397
 ==== ListEndpoints request: database: "/Root"
==== ListEndpoints response: operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "localhost" port: 30397 node_id: 2 } endpoints { address: "ip6-localhost" port: 30397 node_id: 3 } } } }
2025-11-05T13:42:33.677484Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.677502Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.777772Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.777787Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.878172Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.878189Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:33.978500Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:33.978519Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.078826Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.078843Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.181628Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.181651Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.282113Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.282130Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.382479Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.382496Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.482746Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.482766Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.583155Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.583173Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.683619Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.683636Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.783857Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.783873Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.885464Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.885483Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:34.985611Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:34.985633Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.085900Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.085919Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.186299Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.186323Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.289506Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.289535Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.389518Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.389541Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.490549Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.490568Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.590772Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.590790Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.609602Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-11-05T13:42:35.610287Z node 2 :PQ_READ_PROXY DEBUG: new Describe partition request
2025-11-05T13:42:35.610341Z node 2 :PQ_READ_PROXY DEBUG: TDescribePartitionActor for request path: "/Root/test-topic"
include_location: true
2025-11-05T13:42:35.610355Z node 2 :PQ_READ_PROXY DEBUG: TDescribePartitionActor[2:7569236283823726481:2458]: Bootstrap
2025-11-05T13:42:35.610558Z node 2 :PQ_READ_PROXY DEBUG: DescribeTopicImpl [2:7569236283823726481:2458]: Request location
2025-11-05T13:42:35.610763Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236283823726483:2459] connected; active server actors: 1
2025-11-05T13:42:35.610854Z node 3 :PERSQUEUE_READ_BALANCER DEBUG: [72075186224037893][test-topic] addPartitionToResponse tabletId 72075186224037892, partitionId 0, NodeId 3, Generation 1
2025-11-05T13:42:35.610916Z node 2 :PQ_READ_PROXY DEBUG: DescribeTopicImpl [2:7569236283823726481:2458]: Got location
2025-11-05T13:42:35.611004Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236283823726483:2459] disconnected; active server actors: 1
2025-11-05T13:42:35.611011Z node 3 :PERSQUEUE_READ_BALANCER INFO: [72075186224037893][test-topic] pipe [2:7569236283823726483:2459] disconnected no session
2025-11-05T13:42:35.611349Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 3
    generation: 1
  }
}
2025-11-05T13:42:35.611361Z :TRACE: [/Root] TRACE_EVENT DescribePartitionResponse  partition_id=0 active=1 pl_node_id=3 pl_generation=1
2025-11-05T13:42:35.611371Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 3 exists in the endpoint pool.
2025-11-05T13:42:35.611376Z :TRACE: [/Root] TRACE_EVENT PreferredPartitionLocation  Endpoint= NodeId=3 Generation=1
2025-11-05T13:42:35.611380Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 3
2025-11-05T13:42:35.611625Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-11-05T13:42:35.611686Z node 2 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0 grpc read done: success: 0 data: 
2025-11-05T13:42:35.611696Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0 grpc read failed
2025-11-05T13:42:35.611705Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0 grpc closed
2025-11-05T13:42:35.611710Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0 is DEAD
2025-11-05T13:42:35.611952Z node 2 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-11-05T13:42:35.612081Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server disconnected, pipe [2:7569236275233791720:2430] destroyed
2025-11-05T13:42:35.612107Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-11-05T13:42:35.612126Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.612130Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.612811Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-11-05T13:42:35.612837Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "test-topic" partition_with_generation { generation: 1 } }
2025-11-05T13:42:35.612839Z :TRACE: [/Root] TRACE_EVENT InitRequest  pwg_partition_id=0 pwg_generation=1
2025-11-05T13:42:35.612964Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-11-05T13:42:35.612953Z node 2 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-11-05T13:42:35.612966Z node 2 :PQ_WRITE_PROXY DEBUG: new session created cookie 3
2025-11-05T13:42:35.613061Z node 2 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { path: "test-topic" partition_with_generation { generation: 1 } }
2025-11-05T13:42:35.613087Z node 2 :PQ_WRITE_PROXY INFO: session request cookie: 3 path: "test-topic" partition_with_generation { generation: 1 } from ipv6:[::1]:52172
2025-11-05T13:42:35.613089Z node 2 :PQ_WRITE_PROXY DEBUG: session request cookie: 3. Disable deduplication for empty producer id
2025-11-05T13:42:35.613093Z node 2 :PQ_WRITE_PROXY INFO: write session:  cookie=3 sessionId= userAgent="topic server" ip=ipv6:[::1]:52172 proto=topic  topic=test-topic durationSec=0
2025-11-05T13:42:35.613097Z node 2 :PQ_WRITE_PROXY INFO: init check schema
2025-11-05T13:42:35.613108Z node 2 :PQ_WRITE_PROXY INFO: session to partition: 0, generation: 1
2025-11-05T13:42:35.613366Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId:  describe result for acl check
2025-11-05T13:42:35.613410Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint64; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `//Root/.metadata/TopicPartitionsMapping` WHERE Hash == $Hash AND Topic == $Topic AND ProducerId == $SourceId;
2025-11-05T13:42:35.613416Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64; DECLARE $SeqNo AS Uint64;
UPSERT INTO `//Root/.metadata/TopicPartitionsMapping` (Hash, Topic, ProducerId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-11-05T13:42:35.613418Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint64; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `//Root/.metadata/TopicPartitionsMapping` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND ProducerId = $SourceId AND Partition = $Partition;
2025-11-05T13:42:35.613439Z node 2 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [2:7569236283823726487:2461] (SourceId=, PreferedPartition=0) ReplyResult: Partition=0, SeqNo=0
2025-11-05T13:42:35.613443Z node 2 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: 1
2025-11-05T13:42:35.613509Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-11-05T13:42:35.613519Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session will now close
2025-11-05T13:42:35.613526Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-11-05T13:42:35.613627Z :INFO: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-11-05T13:42:35.613634Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-11-05T13:42:35.613644Z :TRACE: [/Root] TRACE_EVENT Error  status=CLIENT_CANCELLED
2025-11-05T13:42:35.613649Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-11-05T13:42:35.613669Z :DEBUG: [/Root]  TraceId []  SessionId [test-message_group_id|99f8e820-32ef2f25-af857ef1-869fdc66_0]  PartitionId [0]  Generation [1] Write session: destroy
2025-11-05T13:42:35.613645Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server connected, pipe [2:7569236283823726490:2461], now have 1 active actors on pipe
2025-11-05T13:42:35.613704Z node 2 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 3, Generation: 1
2025-11-05T13:42:35.613713Z node 2 :PQ_WRITE_PROXY INFO: TPartitionWriter 72075186224037892 (partition=0) received TEvClientConnected with wrong NodeId. Expected: 2, received 3
2025-11-05T13:42:35.613725Z node 2 :PQ_WRITE_PROXY INFO: session v1 error cookie: 3 reason: pipe to partition's 0 tablet is dead #1 sessionId: 
2025-11-05T13:42:35.613745Z node 2 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId:  is DEAD
2025-11-05T13:42:35.613772Z node 3 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'test-topic' requestId: <none>
2025-11-05T13:42:35.613786Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] got client message batch for topic 'test-topic' partition 0
2025-11-05T13:42:35.613828Z node 3 :PERSQUEUE INFO: new Cookie 34f809c1-82587db7-223ea73c-a97035ff|1389b571-5df5075d-50f8df2c-657bff13_0 generated for partition 0 topic 'test-topic' owner 34f809c1-82587db7-223ea73c-a97035ff
2025-11-05T13:42:35.613846Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.613856Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.613865Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892] server disconnected, pipe [2:7569236283823726490:2461] destroyed
2025-11-05T13:42:35.613871Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.613886Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::ReplyOwnerOk. Partition: 0
2025-11-05T13:42:35.613902Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-11-05T13:42:35.613908Z node 3 :PERSQUEUE DEBUG: Answer ok topic: 'test-topic' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-11-05T13:42:35.613911Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.613914Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
2025-11-05T13:42:35.691133Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state before ContinueProcessTxsAndUserActs: 0
2025-11-05T13:42:35.691151Z node 3 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Batching state after ContinueProcessTxsAndUserActs: 1
