2025-10-26T18:07:44.329438Z node 13 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[13:7565593757599854959:8386];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:44.329579Z node 13 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-26T18:07:44.352111Z node 14 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[14:7565593760268812287:8379];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:44.352196Z node 14 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=scheme_cache_undelivered_message;
2025-10-26T18:07:44.388424Z node 13 :PQ_READ_PROXY DEBUG: Direct read cache created
2025-10-26T18:07:44.435134Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/70hy/000519/r3tmp/tmpaoaa3N/pdisk_1.dat
2025-10-26T18:07:44.850062Z node 13 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:07:44.909854Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(13, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:07:44.909998Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(13, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:07:44.912230Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(14, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:07:44.912306Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(14, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:07:44.919647Z node 13 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 14 Cookie 14
2025-10-26T18:07:44.919817Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(13, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-26T18:07:44.921009Z node 13 :HIVE WARN: HIVE#72057594037968897 Node(14, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 15795, node 13
2025-10-26T18:07:45.014675Z node 13 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/70hy/000519/r3tmp/yandexBW77c7.tmp
2025-10-26T18:07:45.014717Z node 13 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/70hy/000519/r3tmp/yandexBW77c7.tmp
2025-10-26T18:07:45.014893Z node 13 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/70hy/000519/r3tmp/yandexBW77c7.tmp
2025-10-26T18:07:45.015084Z node 13 :NET_CLASSIFIER ERROR: got bad distributable configuration
2025-10-26T18:07:45.083453Z INFO: TTestServer started on Port 6167 GrpcPort 15795
TClient is connected to server localhost:6167
PQClient connected to localhost:15795
WaitRootIsUp 'Root'...
TClient::Ls request: Root
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "Root"
    PathId: 1
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 1
    CreateStep: 0
    ParentPathId: 1
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 1
      SubDomainVersion: 0
      SecurityStateVersion: 0
    }
  }
  Children {
    Name: ".sys"
    PathId: 18446744073709551615
    SchemeshardId: 72057594046644480
    PathType: EPathTypeDir
    CreateFinished: true
    CreateTxId: 0
    CreateStep: 0
    ParentPathId: 18446744073709551615
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      PlanResolution: 7
      Coo...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-26T18:07:45.410851Z node 13 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterSubDomain, opId: 281474976715657:0, at schemeshard:  72057594046644480
waiting...
waiting...
2025-10-26T18:07:45.490094Z node 13 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715659:0, at schemeshard:  72057594046644480
waiting...
waiting...
waiting...
2025-10-26T18:07:49.329068Z node 13 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[13:7565593757599854959:8386];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:49.329184Z node 13 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-26T18:07:49.353855Z node 14 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[14:7565593760268812287:8379];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:49.353985Z node 14 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
2025-10-26T18:07:49.523850Z node 14 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [14:7565593781743648898:8380], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-10-26T18:07:49.526788Z node 14 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=14&id=ZjhlYjJhNS1jOTgyN2ZkNi05MjEzNWI1MS1jZjJhZTRhZg==, ActorId: [14:7565593781743648896:8189], ActorState: ExecuteState, TraceId: 01k8gv90q1bqxy4yqdhzbsxzw8, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:07:49.527996Z node 14 :PERSQUEUE_CLUSTER_TRACKER ERROR: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-26T18:07:49.707569Z node 13 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [13:7565593779074692270:8382], status: SCHEME_ERROR, issues: <main>: Error: Type annotation, code: 1030
    <main>:3:16: Error: At function: KiReadTable!
        <main>:3:16: Error: Cannot find table 'db.[/Root/PQ/Config/V2/Cluster]' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions., code: 2003
2025-10-26T18:07:49.710565Z node 13 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=13&id=YzRhODc5MDMtY2YyMGNiMmUtNmI0NDhjN2ItZjQ1MGYwZGI=, ActorId: [13:7565593779074692268:8381], ActorState: ExecuteState, TraceId: 01k8gv90wnfyje0b69cxx2ahwx, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:07:49.711752Z node 13 :PERSQUEUE_CLUSTER_TRACKER ERROR: failed to list clusters: { Response { QueryIssues { message: "Type annotation" issue_code: 1030 severity: 1 issues { position { row: 3 column: 16 } message: "At function: KiReadTable!" end_position { row: 3 column: 16 } severity: 1 issues { position { row: 3 column: 16 } message: "Cannot find table \'db.[/Root/PQ/Config/V2/Cluster]\' because it does not exist or you do not have access permissions. Please check correctness of table path and user permissions." end_position { row: 3 column: 16 } issue_code: 2003 severity: 1 } } } TxMeta { } } YdbStatus: SCHEME_ERROR ConsumedRu: 1 }
2025-10-26T18:07:49.746999Z node 13 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715662:0, at schemeshard:  72057594046644480
2025-10-26T18:07:49.888449Z node 13 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715663:0, at schemeshard:  72057594046644480
2025-10-26T18:07:50.118528Z node 13 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-10-26T18:07:50.551662Z node 13 :KQP_EXECUTER ERROR: TxId: 281474976715665. Ctx: { TraceId: 01k8gv91g57wb9wg5p4p2wz9w1, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=13&id=MmIwMzEwYTYtNjc3NzZhYTctYjY4YWIxNGEtM2I4YTQ2MDU=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [13:7565593783369660014:12348] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 2 partitions
CallPersQueueGRPC request to localhost:15795
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:55.815818Z node 13 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:15795
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 2
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      ReadRules: "user"
      ReadFromTimestampsMs: 0
      ConsumerFormatVersions: 0
      ConsumerCodecs {
      }
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      ReadRuleVersions: 0
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715676
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-26T18:07:55.861697Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic  pipe [13:7565593804844497023:8499] connected; active server actors: 1
2025-10-26T18:07:55.861980Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 updating configuration. Deleted partitions []. Added partitions [1, 0]
2025-10-26T18:07:55.865956Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-26T18:07:55.866089Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) 
2025-10-26T18:07:55.871936Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72057594046644480, NodeId 13, Generation 2
2025-10-26T18:07:55.877869Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvInterconnect::TEvNodeInfo
2025-10-26T18:07:55.880025Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Registered with mediator time cast
2025-10-26T18:07:55.883098Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Transactions request. From tx_00000000000000000000, To tx_18446744073709551615
2025-10-26T18:07:55.883383Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] doesn't have tx info
2025-10-26T18:07:55.883412Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 0, PlanTxId 0, ExecStep 0, ExecTxId 0
2025-10-26T18:07:55.883439Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] no config, start with empty partitions and default config
2025-10-26T18:07:55.883466Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Txs.size=0, PlannedTxs.size=0
2025-10-26T18:07:55.883501Z node 14 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:55.883542Z node 14 :PERSQUEUE INFO: Tablet 72075186224037892 doesn't have tx writes info
2025-10-26T18:07:55.884443Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037892, NodeId 14, Generation 1
2025-10-26T18:07:55.885889Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593804844497051:10], now have 1 active actors on pipe
2025-10-26T18:07:55.906292Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593804844497022:8521], now have 1 active actors on pipe
2025-10-26T18:07:55.907083Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransaction SourceActor { RawX1: 7565593757599855109 RawX2: 55834587195 } TxId: 281474976715676 Config { TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } } }
2025-10-26T18:07:55.907229Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Propose TxId 281474976715676, WriteId (empty maybe)
2025-10-26T18:07:55.907280Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state UNKNOWN
2025-10-26T18:07:55.907317Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State UNKNOWN
2025-10-26T18:07:55.907351Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] schedule TEvProposeTransactionResult(PREPARED)
2025-10-26T18:07:55.907384Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PREPARING
2025-10-26T18:07:55.907453Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:07:55.907847Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: PREPARED MinStep: 1761502075844 MaxStep: 18446744073709551615 Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593757599855109 RawX2: 55834587195 }
2025-10-26T18:07:55.907988Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:55.924346Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:55.924417Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARING
2025-10-26T18:07:55.924442Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PREPARING
2025-10-26T18:07:55.924474Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PREPARED
2025-10-26T18:07:55.940168Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPersQueue::TEvProposeTransactionAttach TabletId: 72075186224037892 TxId: 281474976715676
2025-10-26T18:07:55.949954Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593804844497096:8508], now have 1 active actors on pipe
2025-10-26T18:07:55.954912Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvTxProcessing::TEvPlanStep Transactions { TxId: 281474976715676 AckTo { RawX1: 7565593757599855341 RawX2: 55834583155 } } Step: 1761502075984 MediatorID: 72057594046382081 TabletID: 72075186224037892
2025-10-26T18:07:55.954986Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PREPARED
2025-10-26T18:07:55.955013Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PREPARED
2025-10-26T18:07:55.955041Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PLANNING
2025-10-26T18:07:55.955071Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] PlanStep 1761502075984, PlanTxId 281474976715676
2025-10-26T18:07:55.955123Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:07:55.955563Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: PLANNED MinStep: 1761502075844 MaxStep: 18446744073709551615 Step: 1761502075984 Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593757599855109 RawX2: 55834587195 }
2025-10-26T18:07:55.955731Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:55.974598Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:55.974664Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state PLANNING
2025-10-26T18:07:55.974689Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State PLANNING
2025-10-26T18:07:55.974717Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState PLANNED
2025-10-26T18:07:55.974745Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from PLANNING to PLANNED
2025-10-26T18:07:55.974766Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxQueue.size 1
2025-10-26T18:07:55.974789Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] New ExecStep 1761502075984, ExecTxId 281474976715676
2025-10-26T18:07:55.976055Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState CALCULATING
2025-10-26T18:07:55.976111Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from PLANNED to CALCULATING
2025-10-26T18:07:55.976187Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 1. Step TInitConfigStep
2025-10-26T18:07:55.976260Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-10-26T18:07:55.976282Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitConfigStep
2025-10-26T18:07:55.976310Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateInit] HandleOnInit TEvPQ::TEvProposePartitionConfig
2025-10-26T18:07:55.976900Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 1. Step TInitInternalFieldsStep
2025-10-26T18:07:55.977250Z node 14 :PERSQUEUE INFO: bootstrapping 1 [14:7565593807513453054:8405]
2025-10-26T18:07:55.977843Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Step TInitInternalFieldsStep
2025-10-26T18:07:55.978138Z node 14 :PERSQUEUE INFO: bootstrapping 0 [14:7565593807513453055:8403]
2025-10-26T18:07:55.982299Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 0. Completed.
2025-10-26T18:07:55.982357Z node 14 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [14:7565593807513453055:8403]
2025-10-26T18:07:55.982395Z node 14 :PERSQUEUE DEBUG: SYNC INIT topic rt3.dc1--topic1 partitition 0 so 0 endOffset 0 Head Offset 0 PartNo 0 PackedSize 0 count 0 nextOffset 0 batches 0
2025-10-26T18:07:55.984122Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Process pending events. Count 1
2025-10-26T18:07:55.984342Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-10-26T18:07:55.984667Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1761502075984, TxId 281474976715676, Partition 0
2025-10-26T18:07:55.984702Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] Handle TEvProposePartitionConfigResult
2025-10-26T18:07:55.984725Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] Partition responses 1/2
2025-10-26T18:07:55.984760Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-10-26T18:07:55.984788Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State CALCULATING
2025-10-26T18:07:55.984820Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State CALCULATING FrontTxId 281474976715676
2025-10-26T18:07:55.984847Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 2
2025-10-26T18:07:55.984876Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 status has not changed
2025-10-26T18:07:55.988610Z node 14 :PERSQUEUE DEBUG: Initializing topic 'rt3.dc1--topic1' partition 1. Completed.
2025-10-26T18:07:55.988660Z node 14 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [14:7565593807513453054:8405]
2025-10-26T18:07:55.988687Z node 14 :PERSQUEUE DEBUG: SYNC INIT topic rt3.dc1--topic1 partitition 1 so 0 endOffset 0 Head Offset 0 PartNo 0 PackedSize 0 count 0 nextOffset 0 batches 0
2025-10-26T18:07:55.993722Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] Process pending events. Count 1
2025-10-26T18:07:55.993931Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-10-26T18:07:55.994125Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvProposePartitionConfigResult Step 1761502075984, TxId 281474976715676, Partition 1
2025-10-26T18:07:55.994163Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] Handle TEvProposePartitionConfigResult
2025-10-26T18:07:55.994183Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] Partition responses 2/2
2025-10-26T18:07:55.994209Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATING
2025-10-26T18:07:55.994232Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State CALCULATING
2025-10-26T18:07:55.994258Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State CALCULATING FrontTxId 281474976715676
2025-10-26T18:07:55.994277Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 2, Expected 2
2025-10-26T18:07:55.994306Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState CALCULATED
2025-10-26T18:07:55.994343Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from CALCULATING to CALCULATED
2025-10-26T18:07:55.994375Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:07:55.994789Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: CALCULATED MinStep: 1761502075844 MaxStep: 18446744073709551615 Step: 1761502075984 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593757599855109 RawX2: 55834587195 }
2025-10-26T18:07:55.994951Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:56.008450Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:56.008505Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state CALCULATED
2025-10-26T18:07:56.008531Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State CALCULATED
2025-10-26T18:07:56.008565Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State CALCULATED FrontTxId 281474976715676
2025-10-26T18:07:56.008591Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState WAIT_RS
2025-10-26T18:07:56.008627Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from CALCULATED to WAIT_RS
2025-10-26T18:07:56.008666Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvTxProcessing::TEvReadSet to 0 receivers. Wait TEvTxProcessing::TEvReadSet from 0 senders.
2025-10-26T18:07:56.008690Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveParticipantsDecision 1
2025-10-26T18:07:56.008735Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState EXECUTING
2025-10-26T18:07:56.008791Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from WAIT_RS to EXECUTING
2025-10-26T18:07:56.008816Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 0, Expected 2
2025-10-26T18:07:56.008879Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1761502075984, TxId 281474976715676
2025-10-26T18:07:56.009437Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] Handle TEvPQ::TEvTxCommit Step 1761502075984, TxId 281474976715676
2025-10-26T18:07:56.009703Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:56.009818Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:56.018478Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:56.018770Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:56.018925Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1761502075984, TxId 281474976715676, Partition 0
2025-10-26T18:07:56.018960Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-10-26T18:07:56.018991Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State EXECUTING
2025-10-26T18:07:56.019020Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State EXECUTING FrontTxId 281474976715676
2025-10-26T18:07:56.019048Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 1, Expected 2
2025-10-26T18:07:56.019074Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 status has not changed
2025-10-26T18:07:56.019120Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvPQ::TEvTxCommitDone Step 1761502075984, TxId 281474976715676, Partition 1
2025-10-26T18:07:56.019137Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTING
2025-10-26T18:07:56.019153Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State EXECUTING
2025-10-26T18:07:56.019168Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State EXECUTING FrontTxId 281474976715676
2025-10-26T18:07:56.019182Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Received 2, Expected 2
2025-10-26T18:07:56.019219Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId: 281474976715676 send TEvPersQueue::TEvProposeTransactionResult(COMPLETE)
2025-10-26T18:07:56.019251Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] complete TxId 281474976715676
2025-10-26T18:07:56.019698Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Apply new config PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false }
2025-10-26T18:07:56.019837Z node 14 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:56.019944Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete partitions for TxId 281474976715676
2025-10-26T18:07:56.019972Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState EXECUTED
2025-10-26T18:07:56.020003Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from EXECUTING to EXECUTED
2025-10-26T18:07:56.020039Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] write key for TxId 281474976715676
2025-10-26T18:07:56.020452Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] save tx TxId: 281474976715676 State: EXECUTED MinStep: 1761502075844 MaxStep: 18446744073709551615 Step: 1761502075984 Predicate: true Kind: KIND_CONFIG TabletConfig { PartitionConfig { LifetimeSeconds: 86400 LowWatermark: 8388608 SourceIdLifetimeSeconds: 86400 WriteSpeedInBytesPerSecond: 20000000 BurstSize: 20000000 TotalPartitions: 2 SourceIdMaxCounts: 6000000 } PartitionIds: 1 PartitionIds: 0 TopicName: "rt3.dc1--topic1" Version: 0 LocalDC: true ReadRules: "user" ReadFromTimestampsMs: 0 ConsumerFormatVersions: 0 ConsumerCodecs { } Codecs { Ids: 0 Ids: 1 Ids: 2 Codecs: "raw" Codecs: "gzip" Codecs: "lzop" } ReadRuleVersions: 0 TopicPath: "/Root/PQ/rt3.dc1--topic1" YcCloudId: "" YcFolderId: "" YdbDatabaseId: "" YdbDatabasePath: "/Root" Partitions { PartitionId: 1 Status: Active CreateVersion: 1 TabletId: 0 } Partitions { PartitionId: 0 Status: Active CreateVersion: 1 TabletId: 0 } ReadRuleGenerations: 0 Consumers { Name: "user" ReadFromTimestampsMs: 0 FormatVersion: 0 Codec { } Version: 0 Generation: 0 Important: false } } BootstrapConfig { } SourceActor { RawX1: 7565593757599855109 RawX2: 55834587195 }
2025-10-26T18:07:56.020734Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:56.037813Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:56.037865Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state EXECUTED
2025-10-26T18:07:56.037889Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State EXECUTED
2025-10-26T18:07:56.037917Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 State EXECUTED FrontTxId 281474976715676
2025-10-26T18:07:56.037942Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TPersQueue::SendEvReadSetAckToSenders
2025-10-26T18:07:56.037971Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState WAIT_RS_ACKS
2025-10-26T18:07:56.037993Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676 moved from EXECUTED to WAIT_RS_ACKS
2025-10-26T18:07:56.038026Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] PredicateAcks: 0/0
2025-10-26T18:07:56.038039Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] HaveAllRecipientsReceive 1, AllSupportivePartitionsHaveBeenDeleted 1
2025-10-26T18:07:56.038057Z node 14 :PERSQUEUE DEBUG: [TxId: 281474976715676] PredicateAcks: 0/0
2025-10-26T18:07:56.038089Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] add an TxId 281474976715676 to the list for deletion
2025-10-26T18:07:56.038115Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, NewState DELETING
2025-10-26T18:07:56.038164Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete key for TxId 281474976715676
2025-10-26T18:07:56.038265Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Send TEvKeyValue::TEvRequest (WRITE_TX_COOKIE)
2025-10-26T18:07:56.042796Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Handle TEvKeyValue::TEvResponse (WRITE_TX_COOKIE)
2025-10-26T18:07:56.042847Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] Try execute txs with state DELETING
2025-10-26T18:07:56.042873Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] TxId 281474976715676, State DELETING
2025-10-26T18:07:56.042900Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892] delete TxId 281474976715676
2025-10-26T18:07:56.079815Z node 13 :KQP_EXECUTER ERROR: TxId: 281474976715677. Ctx: { TraceId: 01k8gv96z484yh1zyz6mncrc3s, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=13&id=NmY1ZmZkZjQtYTc0MGNjYjctMTY5M2MxOWUtZTIwZWU5ZDU=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761502075984
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 2
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxC...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761502075984
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 2
    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
    }
    Partitions {
      PartitionId: 1
      TabletId: 72075186224037892
      Status: Active
    }
    AlterVersion: 1
    BalancerTabletID: 72075186224037893
    NextPartitionId: 2
  }
  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: 2
    PQPartitionsLimit: 1000000
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version1
CallPersQueueGRPC request to localhost:15795
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:56.129087Z node 13 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:15795
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:56.634360Z node 13 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 128
ErrorReason: "the following topics are not created: rt3.dc1--topic1, Marker# PQ95"
ErrorCode: UNKNOWN_TOPIC
CallPersQueueGRPC request to localhost:15795
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:57.144532Z node 13 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 2
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 1
        LocalDC: true
        ReadRules: "user"
        ReadFromTimestampsMs: 0
        ConsumerFormatVersions: 0
        ConsumerCodecs {
        }
        Codecs {
          Ids: 0
          Ids: 1
          Ids: 2
          Codecs: "raw"
          Codecs: "gzip"
          Codecs: "lzop"
        }
        ReadRuleVersions: 0
        TopicPath: "/Root/PQ/rt3.dc1--topic1"
        YdbDatabasePath: "/Root"
        Consumers {
          Name: "user"
          ReadFromTimestampsMs: 0
          FormatVersion: 0
          Codec {
          }
          Version: 0
        ...
(TRUNCATED)
=== Topic created, have version: 1
2025-10-26T18:07:57.163968Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Starting read session
2025-10-26T18:07:57.164053Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Starting session to cluster null (localhost:15795)
2025-10-26T18:07:57.169790Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:57.169840Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:57.169925Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Reconnecting session to cluster null in 0.000000s
===== CreateReader =====
MessagesInflight: 0
BytesInflightUncompressed: 0
BytesInflightCompressed: 0
BytesInflightTotal: 0
============
2025-10-26T18:07:57.176652Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Successfully connected. Initializing session
2025-10-26T18:07:57.178125Z node 13 :PQ_READ_PROXY DEBUG: new grpc connection
2025-10-26T18:07:57.178165Z node 13 :PQ_READ_PROXY DEBUG: new session created cookie 1
2025-10-26T18:07:57.182847Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer  session  grpc read done: success# 1, data# { init_request { topics_read_settings { topic: "topic1" } read_only_original: true consumer: "shared/user" read_params { max_read_size: 104857600 } } }
2025-10-26T18:07:57.183097Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read init: from# ipv6:[::1]:43402, request# { init_request { topics_read_settings { topic: "topic1" } read_only_original: true consumer: "shared/user" read_params { max_read_size: 104857600 } } }
2025-10-26T18:07:57.183585Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 auth for : user
2025-10-26T18:07:57.189775Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Handle describe topics response
2025-10-26T18:07:57.190007Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 auth is DEAD
2025-10-26T18:07:57.190143Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 auth ok: topics# 1, initDone# 0
2025-10-26T18:07:57.191398Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 register session: topic# rt3.dc1--topic1
2025-10-26T18:07:57.192315Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Server session id: shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:57.192603Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:57.193457Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:57.193593Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 14beaa50-fc0c474a-ea20e5c4-cb8d51a3
2025-10-26T18:07:57.194081Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434431854:8431] connected; active server actors: 1
2025-10-26T18:07:57.194236Z node 13 :PERSQUEUE_READ_BALANCER NOTICE: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer "user" register session for pipe [13:7565593813434431854:8431] session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:57.194293Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register readable partition 0
2025-10-26T18:07:57.194353Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family created family=1 (Status=Free, Partitions=[0])
2025-10-26T18:07:57.194374Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register readable partition 1
2025-10-26T18:07:57.194406Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family created family=2 (Status=Free, Partitions=[1])
2025-10-26T18:07:57.194449Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register reading session ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593813434431854:8431], Partitions=[], ActiveFamilyCount=0)
2025-10-26T18:07:57.194484Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user rebalancing was scheduled
2025-10-26T18:07:57.194548Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing. Sessions=1, Families=2, UnradableFamilies=2 [2 (1), 1 (0), ], RequireBalancing=0 []
2025-10-26T18:07:57.194613Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing family=2 (Status=Free, Partitions=[1]) for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593813434431854:8431], Partitions=[], ActiveFamilyCount=0)
2025-10-26T18:07:57.194677Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family 2 status Active partitions [1] session "shared/user_13_1_6580555518418949378_v1" sender [13:7565593813434431850:8431] lock partition 1 for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593813434431854:8431], Partitions=[], ActiveFamilyCount=1) generation 1 step 1
2025-10-26T18:07:57.194742Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing family=1 (Status=Free, Partitions=[0]) for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593813434431854:8431], Partitions=[], ActiveFamilyCount=1)
2025-10-26T18:07:57.194781Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family 1 status Active partitions [0] session "shared/user_13_1_6580555518418949378_v1" sender [13:7565593813434431850:8431] lock partition 0 for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593813434431854:8431], Partitions=[], ActiveFamilyCount=2) generation 1 step 2
2025-10-26T18:07:57.194828Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user start rebalancing. familyCount=2, sessionCount=1, desiredFamilyCount=2, allowPlusOne=0
2025-10-26T18:07:57.194874Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing duration: 0.000294s
2025-10-26T18:07:57.195800Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 assign: record# { Partition: 1 TabletId: 72075186224037892 Topic: "rt3.dc1--topic1" Generation: 1 Step: 1 Session: "shared/user_13_1_6580555518418949378_v1" ClientId: "user" PipeClient { RawX1: 7565593813434431854 RawX2: 4503655461953775 } Path: "/Root/PQ/rt3.dc1--topic1" }
2025-10-26T18:07:57.195939Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 assign: record# { Partition: 0 TabletId: 72075186224037892 Topic: "rt3.dc1--topic1" Generation: 1 Step: 2 Session: "shared/user_13_1_6580555518418949378_v1" ClientId: "user" PipeClient { RawX1: 7565593813434431854 RawX2: 4503655461953775 } Path: "/Root/PQ/rt3.dc1--topic1" }
2025-10-26T18:07:57.196010Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INITING TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)
2025-10-26T18:07:57.196094Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INITING TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)
2025-10-26T18:07:57.197435Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593813434431858:8432], now have 1 active actors on pipe
2025-10-26T18:07:57.197473Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593813434431859:8392], now have 1 active actors on pipe
2025-10-26T18:07:57.197805Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) pipe restart attempt 0 pipe creation result: OK TabletId: 72075186224037892 Generation: 1
2025-10-26T18:07:57.197880Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) pipe restart attempt 0 pipe creation result: OK TabletId: 72075186224037892 Generation: 1
2025-10-26T18:07:57.198388Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.198430Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.198469Z node 14 :PERSQUEUE DEBUG: Created session shared/user_13_1_6580555518418949378_v1 on pipe: [13:7565593813434431858:8432]
2025-10-26T18:07:57.198535Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.198546Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.198561Z node 14 :PERSQUEUE DEBUG: Created session shared/user_13_1_6580555518418949378_v1 on pipe: [13:7565593813434431859:8392]
2025-10-26T18:07:57.198696Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user session is set to 0 (startOffset 0) session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:57.198880Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user session is set to 0 (startOffset 0) session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:57.198963Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:57.199061Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:57.199893Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: registered server session: shared/user_13_1_6580555518418949378_v1:1 with generation 1
2025-10-26T18:07:57.199944Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: registered server session: shared/user_13_1_6580555518418949378_v1:2 with generation 1
2025-10-26T18:07:57.210323Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:57.210429Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:57.210483Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 18446744073709551615
2025-10-26T18:07:57.210531Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 18446744073709551615
2025-10-26T18:07:57.214462Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 0 event { CmdGetClientOffsetResult { Offset: 0 EndOffset: 0 WriteTimestampMS: 1761502075988 CreateTimestampMS: 1761502075988 SizeLag: 0 WriteTimestampEstimateMS: 1761502077115 } Cookie: 18446744073709551615 }
2025-10-26T18:07:57.214544Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INIT DONE TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 0 readOffset 0 committedOffset 0
2025-10-26T18:07:57.214655Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 0 event { CmdGetClientOffsetResult { Offset: 0 EndOffset: 0 WriteTimestampMS: 1761502075982 CreateTimestampMS: 1761502075982 SizeLag: 0 WriteTimestampEstimateMS: 1761502077102 } Cookie: 18446744073709551615 }
2025-10-26T18:07:57.214676Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INIT DONE TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 0 readOffset 0 committedOffset 0
2025-10-26T18:07:57.214748Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 sending to client partition status
2025-10-26T18:07:57.215058Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 sending to client partition status
CreatePartitionStream { PartitionStreamId: 1 TopicPath: topic1 Cluster: dc1 PartitionId: 1 CommittedOffset: 0 EndOffset: 0 }
2025-10-26T18:07:57.216333Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Confirm partition stream create. Partition stream id: 1. Cluster: "dc1". Topic: "topic1". Partition: 1. Read offset: (empty maybe)
CreatePartitionStream { PartitionStreamId: 2 TopicPath: topic1 Cluster: dc1 PartitionId: 0 CommittedOffset: 0 EndOffset: 0 }
2025-10-26T18:07:57.216895Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Confirm partition stream create. Partition stream id: 2. Cluster: "dc1". Topic: "topic1". Partition: 0. Read offset: (empty maybe)
2025-10-26T18:07:57.217373Z :DEBUG: [] MessageGroupId [source0] SessionId [] Write session: try to update token
2025-10-26T18:07:57.217815Z :INFO: [] MessageGroupId [source0] SessionId [] Write session: Do CDS request
2025-10-26T18:07:57.217864Z :INFO: [] MessageGroupId [source0] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:57.224375Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { start_read { topic { path: "topic1" } cluster: "dc1" partition: 1 assign_id: 1 } }
2025-10-26T18:07:57.224618Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got StartRead from client: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 0, commitOffset# 0
2025-10-26T18:07:57.224701Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Start reading TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 0 readOffset 0 committedOffset 0 clientCommitOffset 0 clientReadOffset 0
2025-10-26T18:07:57.224759Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 1 from offset0
2025-10-26T18:07:57.225421Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { start_read { topic { path: "topic1" } cluster: "dc1" assign_id: 2 } }
2025-10-26T18:07:57.225558Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got StartRead from client: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 0, commitOffset# 0
2025-10-26T18:07:57.225593Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Start reading TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 0 readOffset 0 committedOffset 0 clientCommitOffset 0 clientReadOffset 0
2025-10-26T18:07:57.225616Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 1 from offset0
2025-10-26T18:07:57.233902Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:57.233945Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-10-26T18:07:57.234484Z :DEBUG: [] MessageGroupId [source0] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source0" }
2025-10-26T18:07:57.235330Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source0" }
2025-10-26T18:07:57.235484Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "topic1" message_group_id: "source0" from ipv6:[::1]:43402
2025-10-26T18:07:57.235505Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:57.235518Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:57.237585Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-26T18:07:57.237775Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:57.237791Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:57.237809Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:57.237833Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:57.241313Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:57.463956Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:57.464349Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434431937:8381] connected; active server actors: 1
2025-10-26T18:07:57.464410Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=source0
2025-10-26T18:07:57.464434Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:57.465053Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434431937:8381] disconnected; active server actors: 1
2025-10-26T18:07:57.465092Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434431937:8381] disconnected no session
2025-10-26T18:07:57.740703Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593813434431963:8381], now have 1 active actors on pipe
2025-10-26T18:07:57.741252Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.741286Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.741391Z node 14 :PERSQUEUE INFO: new Cookie source0|64541690-39fc8f20-f3556635-211d30b0_0 generated for partition 1 topic 'rt3.dc1--topic1' owner source0
2025-10-26T18:07:57.741487Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 1
2025-10-26T18:07:57.741575Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.738823Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:57.738884Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:57.738923Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431864:8381] (SourceId=source0, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:57.738966Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:57.740950Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:57.742165Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.742190Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.742294Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.743915Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 1 MaxSeqNo: 0 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0
2025-10-26T18:07:57.753458Z :INFO: [] MessageGroupId [source0] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502077753 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:57.753645Z :INFO: [] MessageGroupId [source0] SessionId [] Write session established. Init response: session_id: "source0|64541690-39fc8f20-f3556635-211d30b0_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:57.753934Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:57.754052Z :INFO: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:57.757399Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: try to update token
2025-10-26T18:07:57.757453Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:57.762829Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.762870Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.762980Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:57.761940Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:57.762305Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:57.763396Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:57.763865Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.763893Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.764264Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 1 SourceId: '\0source0' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:57.764484Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob processing sourceId '\0source0' seqNo 1 partNo 0
2025-10-26T18:07:57.766401Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob complete sourceId '\0source0' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 0 PartNo 0 PackedSize 173 count 1 nextOffset 1 batches 1
2025-10-26T18:07:57.767135Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 1 compactOffset 0,1 HeadOffset 0 endOffset 0 curOffset 1 d0000000001_00000000000000000000_00000_0000000001_00000| size 161 WTime 1761502077764
2025-10-26T18:07:57.767381Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:57.770632Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:57.770681Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 1
2025-10-26T18:07:57.770722Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source0', Topic: 'rt3.dc1--topic1', Partition: 1, SeqNo: 1, partNo: 0, Offset: 0 is stored on disk
2025-10-26T18:07:57.770923Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-10-26T18:07:57.770943Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user send read request for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 1 rrg 0
2025-10-26T18:07:57.770943Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:57.771114Z node 14 :PERSQUEUE DEBUG: read cookie 0 Topic 'rt3.dc1--topic1' partition 1 user user offset 0 count 1 size 1024000 endOffset 1 max time lag 0ms effective offset 0
2025-10-26T18:07:57.771134Z node 14 :PERSQUEUE DEBUG: read cookie 0 added 0 blobs, size 0 count 0 last offset 0
2025-10-26T18:07:57.771166Z node 14 :PERSQUEUE DEBUG: Reading cookie 0. All data is from uncompacted head.
2025-10-26T18:07:57.771187Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:57.771248Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user readTimeStamp done, result 1761502077764 queuesize 0 startOffset 0
2025-10-26T18:07:57.771290Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait for data done:  readOffset 0 EndOffset 0 newEndOffset 1 commitOffset 0 clientCommitOffset 0 cookie 1 readingFinished 0 firstRead 1
2025-10-26T18:07:57.771314Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:57.771357Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) ready for read with readOffset 0 endOffset 1
2025-10-26T18:07:57.771475Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 0, endOffset# 1, WTime# 1761502075988, sizeLag# 161
2025-10-26T18:07:57.771503Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:57.771557Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 14beaa50-fc0c474a-ea20e5c4-cb8d51a3, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:57.771687Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 0 EndOffset 1 ClientCommitOffset 0 committedOffset 0 Guid 14beaa50-fc0c474a-ea20e5c4-cb8d51a3
2025-10-26T18:07:57.772174Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session got write response: sequence_numbers: 1 offsets: 0 already_written: false partition_id: 1 write_statistics { persist_duration_ms: 5 }
2025-10-26T18:07:57.772230Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: acknoledged message 1
2025-10-26T18:07:57.772522Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user Reading of the partition 1 was started by user.
2025-10-26T18:07:57.772692Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.772730Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:57.772832Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:57.772915Z node 14 :PERSQUEUE DEBUG: read cookie 1 Topic 'rt3.dc1--topic1' partition 1 user user offset 0 count 1 size 193 endOffset 1 max time lag 0ms effective offset 0
2025-10-26T18:07:57.772934Z node 14 :PERSQUEUE DEBUG: read cookie 1 added 0 blobs, size 0 count 0 last offset 0
2025-10-26T18:07:57.772964Z node 14 :PERSQUEUE DEBUG: Reading cookie 1. All data is from uncompacted head.
2025-10-26T18:07:57.772985Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:57.773110Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.773983Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 1 event { CmdReadResult { MaxOffset: 1 Result { Offset: 0 Data: "... 98 bytes ..." SourceId: "\000source0" SeqNo: 1 WriteTimestampMS: 1761502077764 CreateTimestampMS: 1761502077753 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 0 WaitQuotaTimeMs: 0 } Cookie: 0 }
2025-10-26T18:07:57.774249Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 2 from offset1
2025-10-26T18:07:57.774318Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 1 ReadOffset 1 ReadGuid 14beaa50-fc0c474a-ea20e5c4-cb8d51a3 has messages 1
2025-10-26T18:07:57.774501Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 14beaa50-fc0c474a-ea20e5c4-cb8d51a3, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), size# 197
2025-10-26T18:07:57.774542Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 14beaa50-fc0c474a-ea20e5c4-cb8d51a3
2025-10-26T18:07:57.774790Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:57.776345Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:57.778034Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:57.778215Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 2c8a2e36-860d0972-c7240247-8bf643a9
2025-10-26T18:07:57.857752Z :INFO: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session will now close
2025-10-26T18:07:57.857831Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: aborting
2025-10-26T18:07:57.858441Z :INFO: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:57.858494Z :DEBUG: [] MessageGroupId [source0] SessionId [source0|64541690-39fc8f20-f3556635-211d30b0_0] Write session: destroy
2025-10-26T18:07:57.861474Z :DEBUG: [] MessageGroupId [source1] SessionId [] Write session: try to update token
2025-10-26T18:07:57.861906Z :INFO: [] MessageGroupId [source1] SessionId [] Write session: Do CDS request
2025-10-26T18:07:57.861926Z :INFO: [] MessageGroupId [source1] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:57.862918Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0 grpc read done: success: 0 data: 
2025-10-26T18:07:57.862944Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0 grpc read failed
2025-10-26T18:07:57.862968Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0 grpc closed
2025-10-26T18:07:57.862986Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: source0|64541690-39fc8f20-f3556635-211d30b0_0 is DEAD
2025-10-26T18:07:57.863781Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:57.865838Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593813434431963:8381] destroyed
2025-10-26T18:07:57.865912Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:57.868368Z :DEBUG: [] MessageGroupId [source1] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source1" }
2025-10-26T18:07:57.868794Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:57.868835Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-10-26T18:07:57.869242Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source1" }
2025-10-26T18:07:57.869373Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 2 topic: "topic1" message_group_id: "source1" from ipv6:[::1]:43402
2025-10-26T18:07:57.869400Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:57.869413Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:57.884802Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-26T18:07:57.884993Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:57.885009Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:57.885026Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:57.885055Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:57.891649Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:57.904360Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:57.907042Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434432003:8404] connected; active server actors: 1
2025-10-26T18:07:57.907131Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source1
2025-10-26T18:07:57.907161Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:57.910243Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434432003:8404] disconnected; active server actors: 1
2025-10-26T18:07:57.910288Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593813434432003:8404] disconnected no session
2025-10-26T18:07:57.928952Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:57.929013Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:57.929045Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593813434431985:8404] (SourceId=source1, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:57.929088Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:57.931380Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593813434432012:8404], now have 1 active actors on pipe
2025-10-26T18:07:57.931734Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:57.932115Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.932146Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.932248Z node 14 :PERSQUEUE INFO: new Cookie source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source1
2025-10-26T18:07:57.932325Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:57.932391Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.933132Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.933156Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.933315Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.933658Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 0 MaxSeqNo: 0 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0
2025-10-26T18:07:57.938567Z :INFO: [] MessageGroupId [source1] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502077938 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:57.938743Z :INFO: [] MessageGroupId [source1] SessionId [] Write session established. Init response: session_id: "source1|af96d086-c04b3eb7-a05a4b80-b675f307_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:57.939248Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:57.939321Z :INFO: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:57.939711Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: try to update token
2025-10-26T18:07:57.939760Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:57.940506Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:57.940852Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:57.942028Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.942069Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.942205Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:57.942675Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:57.943243Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.943276Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.943336Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 0 SourceId: '\0source1' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:57.943535Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob processing sourceId '\0source1' seqNo 1 partNo 0
2025-10-26T18:07:57.945663Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob complete sourceId '\0source1' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 0 PartNo 0 PackedSize 173 count 1 nextOffset 1 batches 1
2025-10-26T18:07:57.946424Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 0 compactOffset 0,1 HeadOffset 0 endOffset 0 curOffset 1 d0000000000_00000000000000000000_00000_0000000001_00000| size 161 WTime 1761502077944
2025-10-26T18:07:57.946673Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:57.959254Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:57.959288Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 0
2025-10-26T18:07:57.959318Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source1', Topic: 'rt3.dc1--topic1', Partition: 0, SeqNo: 1, partNo: 0, Offset: 0 is stored on disk
2025-10-26T18:07:57.959451Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user readTimeStamp for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 0 rrg 0
2025-10-26T18:07:57.959466Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user send read request for offset 0 initiated  queuesize 0 startOffset 0 ReadingTimestamp 1 rrg 0
2025-10-26T18:07:57.959531Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:57.959610Z node 14 :PERSQUEUE DEBUG: read cookie 0 Topic 'rt3.dc1--topic1' partition 0 user user offset 0 count 1 size 1024000 endOffset 1 max time lag 0ms effective offset 0
2025-10-26T18:07:57.959622Z node 14 :PERSQUEUE DEBUG: read cookie 0 added 0 blobs, size 0 count 0 last offset 0
2025-10-26T18:07:57.959640Z node 14 :PERSQUEUE DEBUG: Reading cookie 0. All data is from uncompacted head.
2025-10-26T18:07:57.959654Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:57.959710Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user readTimeStamp done, result 1761502077942 queuesize 0 startOffset 0
2025-10-26T18:07:57.965330Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session got write response: sequence_numbers: 1 offsets: 0 already_written: false write_statistics { persist_duration_ms: 13 queued_in_partition_duration_ms: 1 }
2025-10-26T18:07:57.965385Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: acknoledged message 1
2025-10-26T18:07:57.963401Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:57.963823Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait for data done:  readOffset 0 EndOffset 0 newEndOffset 1 commitOffset 0 clientCommitOffset 0 cookie 1 readingFinished 0 firstRead 1
2025-10-26T18:07:57.963847Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) ready for read with readOffset 0 endOffset 1
2025-10-26T18:07:57.963910Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 0, endOffset# 1, WTime# 1761502075982, sizeLag# 161
2025-10-26T18:07:57.963928Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:57.963963Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 2c8a2e36-860d0972-c7240247-8bf643a9, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:57.964024Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 0 EndOffset 1 ClientCommitOffset 0 committedOffset 0 Guid 2c8a2e36-860d0972-c7240247-8bf643a9
2025-10-26T18:07:57.964168Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user Reading of the partition 0 was started by user.
2025-10-26T18:07:57.966334Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 1 event { CmdReadResult { MaxOffset: 1 Result { Offset: 0 Data: "... 98 bytes ..." SourceId: "\000source1" SeqNo: 1 WriteTimestampMS: 1761502077942 CreateTimestampMS: 1761502077939 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 0 WaitQuotaTimeMs: 0 } Cookie: 0 }
2025-10-26T18:07:57.966453Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 2 from offset1
2025-10-26T18:07:57.966490Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 1 ReadOffset 1 ReadGuid 2c8a2e36-860d0972-c7240247-8bf643a9 has messages 1
2025-10-26T18:07:57.966606Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 2c8a2e36-860d0972-c7240247-8bf643a9, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), size# 195
2025-10-26T18:07:57.966634Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 2c8a2e36-860d0972-c7240247-8bf643a9
2025-10-26T18:07:57.966821Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:57.965199Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:57.965234Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:57.965298Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:57.965434Z node 14 :PERSQUEUE DEBUG: read cookie 1 Topic 'rt3.dc1--topic1' partition 0 user user offset 0 count 1 size 193 endOffset 1 max time lag 0ms effective offset 0
2025-10-26T18:07:57.965451Z node 14 :PERSQUEUE DEBUG: read cookie 1 added 0 blobs, size 0 count 0 last offset 0
2025-10-26T18:07:57.965488Z node 14 :PERSQUEUE DEBUG: Reading cookie 1. All data is from uncompacted head.
2025-10-26T18:07:57.965511Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:57.965628Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:57.968221Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:57.968709Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:57.968836Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# e772d68-bd5b406b-7956288c-7c3855b1
2025-10-26T18:07:58.040047Z :INFO: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session will now close
2025-10-26T18:07:58.040094Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: aborting
2025-10-26T18:07:58.040466Z :INFO: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:58.040494Z :DEBUG: [] MessageGroupId [source1] SessionId [source1|af96d086-c04b3eb7-a05a4b80-b675f307_0] Write session: destroy
2025-10-26T18:07:58.050251Z :DEBUG: [] MessageGroupId [source2] SessionId [] Write session: try to update token
2025-10-26T18:07:58.062131Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593813434432012:8404] destroyed
2025-10-26T18:07:58.062221Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:58.065869Z :INFO: [] MessageGroupId [source2] SessionId [] Write session: Do CDS request
2025-10-26T18:07:58.065905Z :INFO: [] MessageGroupId [source2] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:58.044608Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 grpc read done: success: 0 data: 
2025-10-26T18:07:58.044637Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 grpc read failed
2025-10-26T18:07:58.044677Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 grpc closed
2025-10-26T18:07:58.044701Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: source1|af96d086-c04b3eb7-a05a4b80-b675f307_0 is DEAD
2025-10-26T18:07:58.045673Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:58.086802Z :DEBUG: [] MessageGroupId [source2] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source2" }
2025-10-26T18:07:58.087187Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:58.087228Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 3
2025-10-26T18:07:58.087853Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source2" }
2025-10-26T18:07:58.088002Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 3 topic: "topic1" message_group_id: "source2" from ipv6:[::1]:43402
2025-10-26T18:07:58.088029Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:58.088043Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:58.090387Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-26T18:07:58.090577Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:58.090594Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:58.090610Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:58.090633Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:58.094821Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:58.114506Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:58.114989Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399340:8418] connected; active server actors: 1
2025-10-26T18:07:58.115186Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source2
2025-10-26T18:07:58.115208Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:58.115802Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399340:8418] disconnected; active server actors: 1
2025-10-26T18:07:58.115825Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399340:8418] disconnected no session
2025-10-26T18:07:58.128327Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:58.128383Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:58.128411Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399322:8418] (SourceId=source2, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:58.128452Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 3 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:58.130174Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593817729399351:8418], now have 1 active actors on pipe
2025-10-26T18:07:58.130502Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:58.132366Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.132398Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.132520Z node 14 :PERSQUEUE INFO: new Cookie source2|4e05c41-ab690f08-4100b022-d4251a10_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source2
2025-10-26T18:07:58.132580Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:58.132643Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.133169Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.133190Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.133256Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.133516Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 3 partition: 0 MaxSeqNo: 0 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0
2025-10-26T18:07:58.138243Z :INFO: [] MessageGroupId [source2] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502078138 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:58.138382Z :INFO: [] MessageGroupId [source2] SessionId [] Write session established. Init response: session_id: "source2|4e05c41-ab690f08-4100b022-d4251a10_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:58.141786Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:58.141880Z :INFO: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:58.142273Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: try to update token
2025-10-26T18:07:58.142341Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:58.146136Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:58.146484Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:58.147011Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.147057Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.147165Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.147546Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:58.148044Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.148069Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.148125Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 0 SourceId: '\0source2' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:58.148310Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob processing sourceId '\0source2' seqNo 1 partNo 0
2025-10-26T18:07:58.166009Z :INFO: [] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:topic1:1:1:0:0 null:topic1:0:2:0:0
2025-10-26T18:07:58.166123Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1002 BytesRead: 0 MessagesRead: 0 BytesReadCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 54 BytesInflightTotal: 54 MessagesInflight: 2 }
2025-10-26T18:07:58.230038Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob complete sourceId '\0source2' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 1 PartNo 0 PackedSize 173 count 1 nextOffset 2 batches 1
2025-10-26T18:07:58.230718Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 0 compactOffset 1,1 HeadOffset 0 endOffset 1 curOffset 2 d0000000000_00000000000000000001_00000_0000000001_00000| size 161 WTime 1761502078230
2025-10-26T18:07:58.231001Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:58.237143Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:58.237185Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 0
2025-10-26T18:07:58.237227Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source2', Topic: 'rt3.dc1--topic1', Partition: 0, SeqNo: 1, partNo: 0, Offset: 1 is stored on disk
2025-10-26T18:07:58.237467Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:58.238024Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:58.238035Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait for data done:  readOffset 1 EndOffset 1 newEndOffset 2 commitOffset 0 clientCommitOffset 0 cookie 2 readingFinished 0 firstRead 0
2025-10-26T18:07:58.238063Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) ready for read with readOffset 1 endOffset 2
2025-10-26T18:07:58.238123Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 1, endOffset# 2, WTime# 1761502077942, sizeLag# 161
2025-10-26T18:07:58.238137Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:58.238193Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# e772d68-bd5b406b-7956288c-7c3855b1, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:58.238248Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 1 EndOffset 2 ClientCommitOffset 0 committedOffset 0 Guid e772d68-bd5b406b-7956288c-7c3855b1
2025-10-26T18:07:58.239326Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.239364Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.239512Z node 14 :PERSQUEUE DEBUG: read cookie 2 Topic 'rt3.dc1--topic1' partition 0 user user offset 1 count 1 size 193 endOffset 2 max time lag 0ms effective offset 1
2025-10-26T18:07:58.239530Z node 14 :PERSQUEUE DEBUG: read cookie 2 added 0 blobs, size 0 count 0 last offset 1
2025-10-26T18:07:58.239562Z node 14 :PERSQUEUE DEBUG: Reading cookie 2. All data is from uncompacted head.
2025-10-26T18:07:58.239586Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:58.239707Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.239767Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:58.240459Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 1 event { CmdReadResult { MaxOffset: 2 Result { Offset: 1 Data: "... 98 bytes ..." SourceId: "\000source2" SeqNo: 1 WriteTimestampMS: 1761502078148 CreateTimestampMS: 1761502078141 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 1 WaitQuotaTimeMs: 0 } Cookie: 1 }
2025-10-26T18:07:58.240574Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 3 from offset2
2025-10-26T18:07:58.240609Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 2 ReadOffset 2 ReadGuid e772d68-bd5b406b-7956288c-7c3855b1 has messages 1
2025-10-26T18:07:58.240707Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# e772d68-bd5b406b-7956288c-7c3855b1, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), size# 197
2025-10-26T18:07:58.240737Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# e772d68-bd5b406b-7956288c-7c3855b1
2025-10-26T18:07:58.240981Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:58.241951Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session got write response: sequence_numbers: 1 offsets: 1 already_written: false write_statistics { persist_duration_ms: 6 queued_in_partition_duration_ms: 82 }
2025-10-26T18:07:58.242010Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: acknoledged message 1
2025-10-26T18:07:58.242113Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:58.242464Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:58.242561Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 4eedc366-8c38deec-3ecb17c5-d23562e0
2025-10-26T18:07:58.245123Z :INFO: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session will now close
2025-10-26T18:07:58.245163Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: aborting
2025-10-26T18:07:58.246087Z :INFO: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:58.246139Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session is aborting and will not restart
2025-10-26T18:07:58.246209Z :DEBUG: [] MessageGroupId [source2] SessionId [source2|4e05c41-ab690f08-4100b022-d4251a10_0] Write session: destroy
2025-10-26T18:07:58.246211Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0 grpc read done: success: 0 data: 
2025-10-26T18:07:58.246236Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0 grpc read failed
2025-10-26T18:07:58.246267Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0 grpc closed
2025-10-26T18:07:58.246289Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: source2|4e05c41-ab690f08-4100b022-d4251a10_0 is DEAD
2025-10-26T18:07:58.247189Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:58.247740Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593817729399351:8418] destroyed
2025-10-26T18:07:58.247806Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:58.254276Z :DEBUG: [] MessageGroupId [source3] SessionId [] Write session: try to update token
2025-10-26T18:07:58.254552Z :INFO: [] MessageGroupId [source3] SessionId [] Write session: Do CDS request
2025-10-26T18:07:58.254588Z :INFO: [] MessageGroupId [source3] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:58.263148Z :DEBUG: [] MessageGroupId [source3] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source3" }
2025-10-26T18:07:58.264300Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:58.264344Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 4
2025-10-26T18:07:58.265202Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source3" }
2025-10-26T18:07:58.265362Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 4 topic: "topic1" message_group_id: "source3" from ipv6:[::1]:43402
2025-10-26T18:07:58.265386Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:58.265400Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:58.267609Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-26T18:07:58.267788Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:58.267806Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:58.267821Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:58.267845Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:58.271583Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:58.295402Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:58.295836Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399380:8430] connected; active server actors: 1
2025-10-26T18:07:58.296011Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=source3
2025-10-26T18:07:58.296042Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:58.296613Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399380:8430] disconnected; active server actors: 1
2025-10-26T18:07:58.296652Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399380:8430] disconnected no session
2025-10-26T18:07:58.322247Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:58.322309Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:58.322341Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399358:8430] (SourceId=source3, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:58.322400Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 4 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:58.324780Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593817729399389:8430], now have 1 active actors on pipe
2025-10-26T18:07:58.325310Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:58.329522Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.329576Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.329712Z node 14 :PERSQUEUE INFO: new Cookie source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 generated for partition 1 topic 'rt3.dc1--topic1' owner source3
2025-10-26T18:07:58.329806Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 1
2025-10-26T18:07:58.329892Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.331485Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.331518Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.331659Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.333185Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 4 partition: 1 MaxSeqNo: 0 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0
2025-10-26T18:07:58.334272Z :INFO: [] MessageGroupId [source3] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502078334 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:58.334442Z :INFO: [] MessageGroupId [source3] SessionId [] Write session established. Init response: session_id: "source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:58.337999Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:58.338089Z :INFO: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:58.338582Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: try to update token
2025-10-26T18:07:58.338631Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:58.339422Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:58.339735Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:58.340219Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.340259Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.340360Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.340751Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:58.341275Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.341300Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.341355Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 1 SourceId: '\0source3' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:58.341548Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob processing sourceId '\0source3' seqNo 1 partNo 0
2025-10-26T18:07:58.343179Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob complete sourceId '\0source3' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 1 PartNo 0 PackedSize 173 count 1 nextOffset 2 batches 1
2025-10-26T18:07:58.343895Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 1 compactOffset 1,1 HeadOffset 0 endOffset 1 curOffset 2 d0000000001_00000000000000000001_00000_0000000001_00000| size 161 WTime 1761502078342
2025-10-26T18:07:58.344141Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:58.355505Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:58.355544Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 1
2025-10-26T18:07:58.355589Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source3', Topic: 'rt3.dc1--topic1', Partition: 1, SeqNo: 1, partNo: 0, Offset: 1 is stored on disk
2025-10-26T18:07:58.355812Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:58.356427Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait for data done:  readOffset 1 EndOffset 1 newEndOffset 2 commitOffset 0 clientCommitOffset 0 cookie 2 readingFinished 0 firstRead 0
2025-10-26T18:07:58.356480Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) ready for read with readOffset 1 endOffset 2
2025-10-26T18:07:58.356625Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:58.356912Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 1, endOffset# 2, WTime# 1761502077764, sizeLag# 161
2025-10-26T18:07:58.356934Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:58.356976Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 4eedc366-8c38deec-3ecb17c5-d23562e0, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:58.357067Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 1 EndOffset 2 ClientCommitOffset 0 committedOffset 0 Guid 4eedc366-8c38deec-3ecb17c5-d23562e0
2025-10-26T18:07:58.358385Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session got write response: sequence_numbers: 1 offsets: 1 already_written: false partition_id: 1 write_statistics { persist_duration_ms: 10 queued_in_partition_duration_ms: 4 }
2025-10-26T18:07:58.358436Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: acknoledged message 1
2025-10-26T18:07:58.360113Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.360164Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.360308Z node 14 :PERSQUEUE DEBUG: read cookie 2 Topic 'rt3.dc1--topic1' partition 1 user user offset 1 count 1 size 193 endOffset 2 max time lag 0ms effective offset 1
2025-10-26T18:07:58.360332Z node 14 :PERSQUEUE DEBUG: read cookie 2 added 0 blobs, size 0 count 0 last offset 1
2025-10-26T18:07:58.360366Z node 14 :PERSQUEUE DEBUG: Reading cookie 2. All data is from uncompacted head.
2025-10-26T18:07:58.360392Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:58.360488Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:58.360539Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.361440Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 1 event { CmdReadResult { MaxOffset: 2 Result { Offset: 1 Data: "... 98 bytes ..." SourceId: "\000source3" SeqNo: 1 WriteTimestampMS: 1761502078338 CreateTimestampMS: 1761502078337 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 1 WaitQuotaTimeMs: 0 } Cookie: 1 }
2025-10-26T18:07:58.361573Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 3 from offset2
2025-10-26T18:07:58.361609Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 2 ReadOffset 2 ReadGuid 4eedc366-8c38deec-3ecb17c5-d23562e0 has messages 1
2025-10-26T18:07:58.361755Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 4eedc366-8c38deec-3ecb17c5-d23562e0, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), size# 199
2025-10-26T18:07:58.361785Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 4eedc366-8c38deec-3ecb17c5-d23562e0
2025-10-26T18:07:58.362142Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:58.363125Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:58.369904Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:58.370109Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# c13ef08e-b7df170b-539fc477-98376746
2025-10-26T18:07:58.438235Z :INFO: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session will now close
2025-10-26T18:07:58.438280Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: aborting
2025-10-26T18:07:58.438660Z :INFO: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:58.438690Z :DEBUG: [] MessageGroupId [source3] SessionId [source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0] Write session: destroy
2025-10-26T18:07:58.440964Z :DEBUG: [] MessageGroupId [source4] SessionId [] Write session: try to update token
2025-10-26T18:07:58.441280Z :INFO: [] MessageGroupId [source4] SessionId [] Write session: Do CDS request
2025-10-26T18:07:58.441303Z :INFO: [] MessageGroupId [source4] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:58.454523Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 grpc read done: success: 0 data: 
2025-10-26T18:07:58.454556Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 grpc read failed
2025-10-26T18:07:58.454588Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 grpc closed
2025-10-26T18:07:58.454611Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: source3|1a11fdaa-7451ce58-c503ed9c-4a76ac12_0 is DEAD
2025-10-26T18:07:58.455529Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:58.466118Z :DEBUG: [] MessageGroupId [source4] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source4" }
2025-10-26T18:07:58.466800Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:58.466837Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 5
2025-10-26T18:07:58.467801Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source4" }
2025-10-26T18:07:58.467942Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 5 topic: "topic1" message_group_id: "source4" from ipv6:[::1]:43402
2025-10-26T18:07:58.467964Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:58.467977Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:58.469918Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 5 sessionId:  describe result for acl check
2025-10-26T18:07:58.470090Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:58.470107Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:58.470123Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:58.470144Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:58.466521Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593817729399389:8430] destroyed
2025-10-26T18:07:58.466598Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:58.473433Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:58.488646Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:58.489127Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399433:8433] connected; active server actors: 1
2025-10-26T18:07:58.489242Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=source4
2025-10-26T18:07:58.489278Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:58.489995Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399433:8433] disconnected; active server actors: 1
2025-10-26T18:07:58.490030Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399433:8433] disconnected no session
2025-10-26T18:07:58.502404Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:58.503776Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593817729399444:8433], now have 1 active actors on pipe
2025-10-26T18:07:58.502468Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:58.502496Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399415:8433] (SourceId=source4, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:58.502532Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 5 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:58.508217Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:58.508631Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.510332Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 5 partition: 1 MaxSeqNo: 0 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0
2025-10-26T18:07:58.508672Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.508787Z node 14 :PERSQUEUE INFO: new Cookie source4|29108e7a-e114e723-f605805a-47c2d745_0 generated for partition 1 topic 'rt3.dc1--topic1' owner source4
2025-10-26T18:07:58.508866Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 1
2025-10-26T18:07:58.508942Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.509793Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.509819Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.509925Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.513952Z :INFO: [] MessageGroupId [source4] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502078513 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:58.514108Z :INFO: [] MessageGroupId [source4] SessionId [] Write session established. Init response: session_id: "source4|29108e7a-e114e723-f605805a-47c2d745_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:58.514397Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:58.514485Z :INFO: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:58.517668Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: try to update token
2025-10-26T18:07:58.517750Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:58.520224Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 5 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:58.520532Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:58.521128Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.521173Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.521283Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.526228Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:58.532697Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.532749Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.532818Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 1 SourceId: '\0source4' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:58.533031Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob processing sourceId '\0source4' seqNo 1 partNo 0
2025-10-26T18:07:58.728437Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob complete sourceId '\0source4' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 2 PartNo 0 PackedSize 173 count 1 nextOffset 3 batches 1
2025-10-26T18:07:58.729005Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 1 compactOffset 2,1 HeadOffset 0 endOffset 2 curOffset 3 d0000000001_00000000000000000002_00000_0000000001_00000| size 161 WTime 1761502078727
2025-10-26T18:07:58.729487Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:58.738314Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:58.738366Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 1
2025-10-26T18:07:58.738408Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source4', Topic: 'rt3.dc1--topic1', Partition: 1, SeqNo: 1, partNo: 0, Offset: 2 is stored on disk
2025-10-26T18:07:58.738647Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:58.739160Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait for data done:  readOffset 2 EndOffset 2 newEndOffset 3 commitOffset 0 clientCommitOffset 0 cookie 3 readingFinished 0 firstRead 0
2025-10-26T18:07:58.739199Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) ready for read with readOffset 2 endOffset 3
2025-10-26T18:07:58.739269Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:58.739750Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 2, endOffset# 3, WTime# 1761502078338, sizeLag# 161
2025-10-26T18:07:58.739768Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:58.739809Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# c13ef08e-b7df170b-539fc477-98376746, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:58.739857Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 2 EndOffset 3 ClientCommitOffset 0 committedOffset 0 Guid c13ef08e-b7df170b-539fc477-98376746
2025-10-26T18:07:58.740533Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.740566Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:58.740698Z node 14 :PERSQUEUE DEBUG: read cookie 3 Topic 'rt3.dc1--topic1' partition 1 user user offset 2 count 1 size 193 endOffset 3 max time lag 0ms effective offset 2
2025-10-26T18:07:58.740718Z node 14 :PERSQUEUE DEBUG: read cookie 3 added 0 blobs, size 0 count 0 last offset 2
2025-10-26T18:07:58.740750Z node 14 :PERSQUEUE DEBUG: Reading cookie 3. All data is from uncompacted head.
2025-10-26T18:07:58.740773Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:58.740893Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 2
2025-10-26T18:07:58.740954Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:58.742076Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session got write response: sequence_numbers: 1 offsets: 2 already_written: false partition_id: 1 write_statistics { persist_duration_ms: 10 queued_in_partition_duration_ms: 195 }
2025-10-26T18:07:58.742140Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: acknoledged message 1
2025-10-26T18:07:58.741772Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 1 event { CmdReadResult { MaxOffset: 3 Result { Offset: 2 Data: "... 98 bytes ..." SourceId: "\000source4" SeqNo: 1 WriteTimestampMS: 1761502078532 CreateTimestampMS: 1761502078514 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 2 WaitQuotaTimeMs: 0 } Cookie: 2 }
2025-10-26T18:07:58.741901Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 4 from offset3
2025-10-26T18:07:58.741939Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 3 ReadOffset 3 ReadGuid c13ef08e-b7df170b-539fc477-98376746 has messages 1
2025-10-26T18:07:58.742065Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# c13ef08e-b7df170b-539fc477-98376746, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), size# 199
2025-10-26T18:07:58.742091Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# c13ef08e-b7df170b-539fc477-98376746
2025-10-26T18:07:58.742317Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:58.742997Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:58.743387Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:58.743516Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89
2025-10-26T18:07:58.825749Z :INFO: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session will now close
2025-10-26T18:07:58.825796Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: aborting
2025-10-26T18:07:58.826225Z :INFO: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:58.826258Z :DEBUG: [] MessageGroupId [source4] SessionId [source4|29108e7a-e114e723-f605805a-47c2d745_0] Write session: destroy
2025-10-26T18:07:58.828905Z :DEBUG: [] MessageGroupId [source5] SessionId [] Write session: try to update token
2025-10-26T18:07:58.829219Z :INFO: [] MessageGroupId [source5] SessionId [] Write session: Do CDS request
2025-10-26T18:07:58.829251Z :INFO: [] MessageGroupId [source5] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:58.834008Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 5 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0 grpc read done: success: 0 data: 
2025-10-26T18:07:58.834040Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 5 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0 grpc read failed
2025-10-26T18:07:58.834072Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 5 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0 grpc closed
2025-10-26T18:07:58.834099Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 5 sessionId: source4|29108e7a-e114e723-f605805a-47c2d745_0 is DEAD
2025-10-26T18:07:58.835249Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:58.836295Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593817729399444:8433] destroyed
2025-10-26T18:07:58.836384Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:58.839485Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:58.839517Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 6
2025-10-26T18:07:58.842041Z :DEBUG: [] MessageGroupId [source5] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source5" }
2025-10-26T18:07:58.846197Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source5" }
2025-10-26T18:07:58.846364Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 6 topic: "topic1" message_group_id: "source5" from ipv6:[::1]:43402
2025-10-26T18:07:58.846387Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:58.846399Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:58.848274Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-26T18:07:58.848469Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:58.848482Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:58.848496Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:58.848518Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:58.851957Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:58.866577Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:58.866979Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399501:8405] connected; active server actors: 1
2025-10-26T18:07:58.867090Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source5
2025-10-26T18:07:58.867119Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:58.867533Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399501:8405] disconnected; active server actors: 1
2025-10-26T18:07:58.867565Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593817729399501:8405] disconnected no session
2025-10-26T18:07:58.881771Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:58.881835Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:58.881865Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593817729399486:8405] (SourceId=source5, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:58.881909Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 6 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:58.886853Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:58.886206Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593817729399510:8405], now have 1 active actors on pipe
2025-10-26T18:07:58.887380Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.887414Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.887557Z node 14 :PERSQUEUE INFO: new Cookie source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source5
2025-10-26T18:07:58.887663Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:58.887770Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.889705Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.889734Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.889863Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:58.892456Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 6 partition: 0 MaxSeqNo: 0 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0
2025-10-26T18:07:58.893454Z :INFO: [] MessageGroupId [source5] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502078893 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:58.893602Z :INFO: [] MessageGroupId [source5] SessionId [] Write session established. Init response: session_id: "source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:58.893928Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:58.894012Z :INFO: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:58.898195Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: try to update token
2025-10-26T18:07:58.898255Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:58.902234Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 6 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:58.902586Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:58.905144Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.905196Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.905840Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:58.905404Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:58.906898Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.906929Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.907005Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 0 SourceId: '\0source5' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:58.907290Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob processing sourceId '\0source5' seqNo 1 partNo 0
2025-10-26T18:07:58.908902Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob complete sourceId '\0source5' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 2 PartNo 0 PackedSize 173 count 1 nextOffset 3 batches 1
2025-10-26T18:07:58.909731Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 0 compactOffset 2,1 HeadOffset 0 endOffset 2 curOffset 3 d0000000000_00000000000000000002_00000_0000000001_00000| size 161 WTime 1761502078907
2025-10-26T18:07:58.910031Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:58.920450Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:58.920503Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 0
2025-10-26T18:07:58.920550Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source5', Topic: 'rt3.dc1--topic1', Partition: 0, SeqNo: 1, partNo: 0, Offset: 2 is stored on disk
2025-10-26T18:07:58.920869Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:58.921478Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait for data done:  readOffset 2 EndOffset 2 newEndOffset 3 commitOffset 0 clientCommitOffset 0 cookie 3 readingFinished 0 firstRead 0
2025-10-26T18:07:58.921521Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) ready for read with readOffset 2 endOffset 3
2025-10-26T18:07:58.921600Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:58.922396Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session got write response: sequence_numbers: 1 offsets: 2 already_written: false write_statistics { persist_duration_ms: 12 }
2025-10-26T18:07:58.922446Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: acknoledged message 1
2025-10-26T18:07:58.923043Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:58.923052Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:58.923079Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:58.923209Z node 14 :PERSQUEUE DEBUG: read cookie 3 Topic 'rt3.dc1--topic1' partition 0 user user offset 2 count 1 size 193 endOffset 3 max time lag 0ms effective offset 2
2025-10-26T18:07:58.923229Z node 14 :PERSQUEUE DEBUG: read cookie 3 added 0 blobs, size 0 count 0 last offset 2
2025-10-26T18:07:58.923267Z node 14 :PERSQUEUE DEBUG: Reading cookie 3. All data is from uncompacted head.
2025-10-26T18:07:58.923290Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:58.923424Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 2
2025-10-26T18:07:58.922045Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 2, endOffset# 3, WTime# 1761502078148, sizeLag# 161
2025-10-26T18:07:58.922072Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:58.922113Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:58.922179Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 2 EndOffset 3 ClientCommitOffset 0 committedOffset 0 Guid 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89
2025-10-26T18:07:58.923929Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 1 event { CmdReadResult { MaxOffset: 3 Result { Offset: 2 Data: "... 98 bytes ..." SourceId: "\000source5" SeqNo: 1 WriteTimestampMS: 1761502078906 CreateTimestampMS: 1761502078893 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 2 WaitQuotaTimeMs: 0 } Cookie: 2 }
2025-10-26T18:07:58.924055Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 4 from offset3
2025-10-26T18:07:58.924097Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 3 ReadOffset 3 ReadGuid 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89 has messages 1
2025-10-26T18:07:58.924262Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), size# 197
2025-10-26T18:07:58.925084Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:58.924295Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 5c997ac3-65a0eb8e-fc8ac09e-a6cb5c89
2025-10-26T18:07:58.924516Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:58.927370Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:58.927519Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# e37000d2-ce55ea9d-457dd85-4480876d
2025-10-26T18:07:58.994120Z :INFO: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session will now close
2025-10-26T18:07:58.994192Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: aborting
2025-10-26T18:07:58.994668Z :INFO: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:58.994703Z :DEBUG: [] MessageGroupId [source5] SessionId [source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0] Write session: destroy
2025-10-26T18:07:58.998241Z :DEBUG: [] MessageGroupId [source6] SessionId [] Write session: try to update token
2025-10-26T18:07:59.000532Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593817729399510:8405] destroyed
2025-10-26T18:07:59.000610Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:58.997914Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 6 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 grpc read done: success: 0 data: 
2025-10-26T18:07:58.997948Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 grpc read failed
2025-10-26T18:07:58.997986Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 grpc closed
2025-10-26T18:07:58.998017Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: source5|80a19c9c-139e0001-10cec28d-c2ab5be5_0 is DEAD
2025-10-26T18:07:58.999801Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:59.013932Z :INFO: [] MessageGroupId [source6] SessionId [] Write session: Do CDS request
2025-10-26T18:07:59.013970Z :INFO: [] MessageGroupId [source6] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:59.020857Z :DEBUG: [] MessageGroupId [source6] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source6" }
2025-10-26T18:07:59.022487Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:59.022527Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 7
2025-10-26T18:07:59.023365Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source6" }
2025-10-26T18:07:59.023535Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 7 topic: "topic1" message_group_id: "source6" from ipv6:[::1]:43402
2025-10-26T18:07:59.023561Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:59.023578Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:59.025862Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-26T18:07:59.026062Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:59.026077Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:59.026098Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:59.026124Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:59.032662Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:59.043329Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:59.043864Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366849:8417] connected; active server actors: 1
2025-10-26T18:07:59.044029Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=source6
2025-10-26T18:07:59.044061Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:59.044782Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366849:8417] disconnected; active server actors: 1
2025-10-26T18:07:59.044818Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366849:8417] disconnected no session
2025-10-26T18:07:59.056242Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:59.056315Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:59.056350Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366831:8417] (SourceId=source6, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:59.056398Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:59.058391Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:59.058533Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024366859:8417], now have 1 active actors on pipe
2025-10-26T18:07:59.058619Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.058648Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.058777Z node 14 :PERSQUEUE INFO: new Cookie source6|1b510add-90e601d3-c33ac215-f2956972_0 generated for partition 1 topic 'rt3.dc1--topic1' owner source6
2025-10-26T18:07:59.058876Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 1
2025-10-26T18:07:59.058978Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.059863Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.059888Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.060004Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.060346Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0
2025-10-26T18:07:59.061537Z :INFO: [] MessageGroupId [source6] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502079061 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:59.061698Z :INFO: [] MessageGroupId [source6] SessionId [] Write session established. Init response: session_id: "source6|1b510add-90e601d3-c33ac215-f2956972_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:59.065784Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:59.065876Z :INFO: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:59.066329Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: try to update token
2025-10-26T18:07:59.066375Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:59.069814Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 7 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:59.070161Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:59.070968Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:59.070607Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.070639Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.070754Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:59.071425Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.071446Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.071514Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 1 SourceId: '\0source6' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:59.071741Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob processing sourceId '\0source6' seqNo 1 partNo 0
2025-10-26T18:07:59.073277Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob complete sourceId '\0source6' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 3 PartNo 0 PackedSize 173 count 1 nextOffset 4 batches 1
2025-10-26T18:07:59.074940Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 1 compactOffset 3,1 HeadOffset 0 endOffset 3 curOffset 4 d0000000001_00000000000000000003_00000_0000000001_00000| size 161 WTime 1761502079074
2025-10-26T18:07:59.075544Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.078795Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.078844Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 1
2025-10-26T18:07:59.078890Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source6', Topic: 'rt3.dc1--topic1', Partition: 1, SeqNo: 1, partNo: 0, Offset: 3 is stored on disk
2025-10-26T18:07:59.079139Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:59.079277Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait for data done:  readOffset 3 EndOffset 3 newEndOffset 4 commitOffset 0 clientCommitOffset 0 cookie 4 readingFinished 0 firstRead 0
2025-10-26T18:07:59.079317Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) ready for read with readOffset 3 endOffset 4
2025-10-26T18:07:59.079382Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 3, endOffset# 4, WTime# 1761502078532, sizeLag# 161
2025-10-26T18:07:59.079399Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:59.079453Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# e37000d2-ce55ea9d-457dd85-4480876d, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:59.079525Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:59.079932Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 3 EndOffset 4 ClientCommitOffset 0 committedOffset 0 Guid e37000d2-ce55ea9d-457dd85-4480876d
2025-10-26T18:07:59.080384Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.080417Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.080496Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:59.080610Z node 14 :PERSQUEUE DEBUG: read cookie 4 Topic 'rt3.dc1--topic1' partition 1 user user offset 3 count 1 size 193 endOffset 4 max time lag 0ms effective offset 3
2025-10-26T18:07:59.080639Z node 14 :PERSQUEUE DEBUG: read cookie 4 added 0 blobs, size 0 count 0 last offset 3
2025-10-26T18:07:59.080674Z node 14 :PERSQUEUE DEBUG: Reading cookie 4. All data is from uncompacted head.
2025-10-26T18:07:59.080696Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:59.080826Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 3
2025-10-26T18:07:59.080900Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session got write response: sequence_numbers: 1 offsets: 3 already_written: false partition_id: 1 write_statistics { persist_duration_ms: 5 queued_in_partition_duration_ms: 2 }
2025-10-26T18:07:59.080943Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: acknoledged message 1
2025-10-26T18:07:59.081401Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 1 event { CmdReadResult { MaxOffset: 4 Result { Offset: 3 Data: "... 98 bytes ..." SourceId: "\000source6" SeqNo: 1 WriteTimestampMS: 1761502079071 CreateTimestampMS: 1761502079065 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 3 WaitQuotaTimeMs: 0 } Cookie: 3 }
2025-10-26T18:07:59.081529Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 5 from offset4
2025-10-26T18:07:59.081564Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 4 ReadOffset 4 ReadGuid e37000d2-ce55ea9d-457dd85-4480876d has messages 1
2025-10-26T18:07:59.081701Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# e37000d2-ce55ea9d-457dd85-4480876d, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), size# 199
2025-10-26T18:07:59.081730Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# e37000d2-ce55ea9d-457dd85-4480876d
2025-10-26T18:07:59.081952Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:59.082701Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:59.082997Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:59.083096Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 678a3014-62da5d4a-bbbbc9-f1d8c268
2025-10-26T18:07:59.166458Z :INFO: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session will now close
2025-10-26T18:07:59.166504Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: aborting
2025-10-26T18:07:59.166893Z :INFO: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:59.166925Z :DEBUG: [] MessageGroupId [source6] SessionId [source6|1b510add-90e601d3-c33ac215-f2956972_0] Write session: destroy
2025-10-26T18:07:59.172672Z :DEBUG: [] MessageGroupId [source7] SessionId [] Write session: try to update token
2025-10-26T18:07:59.171645Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 7 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0 grpc read done: success: 0 data: 
2025-10-26T18:07:59.171690Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0 grpc read failed
2025-10-26T18:07:59.171726Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0 grpc closed
2025-10-26T18:07:59.171749Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId: source6|1b510add-90e601d3-c33ac215-f2956972_0 is DEAD
2025-10-26T18:07:59.173005Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:59.173897Z :INFO: [] MessageGroupId [source7] SessionId [] Write session: Do CDS request
2025-10-26T18:07:59.173924Z :INFO: [] MessageGroupId [source7] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:59.174197Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024366859:8417] destroyed
2025-10-26T18:07:59.174289Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:59.181972Z :DEBUG: [] MessageGroupId [source7] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source7" }
2025-10-26T18:07:59.181846Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:59.181894Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 8
2025-10-26T18:07:59.182557Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source7" }
2025-10-26T18:07:59.182735Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 8 topic: "topic1" message_group_id: "source7" from ipv6:[::1]:43402
2025-10-26T18:07:59.182762Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:59.182777Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:59.187591Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-26T18:07:59.187738Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:59.187749Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:59.187762Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:59.187780Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:59.191743Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:59.203780Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:59.204075Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366887:8424] connected; active server actors: 1
2025-10-26T18:07:59.204158Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source7
2025-10-26T18:07:59.204192Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:59.204698Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366887:8424] disconnected; active server actors: 1
2025-10-26T18:07:59.204733Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366887:8424] disconnected no session
2025-10-26T18:07:59.224061Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:59.224129Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:59.224162Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366869:8424] (SourceId=source7, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:59.224218Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 8 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:59.225522Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024366896:8424], now have 1 active actors on pipe
2025-10-26T18:07:59.225697Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:59.226060Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.226099Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.226239Z node 14 :PERSQUEUE INFO: new Cookie source7|2e785c38-4d5140ac-9b605868-676589f1_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source7
2025-10-26T18:07:59.226345Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:59.226430Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.231414Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.231467Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.231614Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.232157Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 8 partition: 0 MaxSeqNo: 0 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0
2025-10-26T18:07:59.233852Z :INFO: [] MessageGroupId [source7] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502079233 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:59.233993Z :INFO: [] MessageGroupId [source7] SessionId [] Write session established. Init response: session_id: "source7|2e785c38-4d5140ac-9b605868-676589f1_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:59.237085Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:59.237176Z :INFO: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:59.237622Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: try to update token
2025-10-26T18:07:59.237676Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:59.244020Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 8 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:59.244332Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:59.244841Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.244876Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.244962Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:59.245707Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:59.246107Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.246128Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.246188Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 0 SourceId: '\0source7' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:59.246340Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob processing sourceId '\0source7' seqNo 1 partNo 0
2025-10-26T18:07:59.287512Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob complete sourceId '\0source7' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 3 PartNo 0 PackedSize 173 count 1 nextOffset 4 batches 1
2025-10-26T18:07:59.288442Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 0 compactOffset 3,1 HeadOffset 0 endOffset 3 curOffset 4 d0000000000_00000000000000000003_00000_0000000001_00000| size 161 WTime 1761502079288
2025-10-26T18:07:59.288740Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.292672Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.292729Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 0
2025-10-26T18:07:59.292771Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source7', Topic: 'rt3.dc1--topic1', Partition: 0, SeqNo: 1, partNo: 0, Offset: 3 is stored on disk
2025-10-26T18:07:59.293020Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:59.293505Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait for data done:  readOffset 3 EndOffset 3 newEndOffset 4 commitOffset 0 clientCommitOffset 0 cookie 4 readingFinished 0 firstRead 0
2025-10-26T18:07:59.293544Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) ready for read with readOffset 3 endOffset 4
2025-10-26T18:07:59.293567Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:59.293601Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 3, endOffset# 4, WTime# 1761502078906, sizeLag# 161
2025-10-26T18:07:59.293616Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:59.293654Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 678a3014-62da5d4a-bbbbc9-f1d8c268, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:59.293715Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 3 EndOffset 4 ClientCommitOffset 0 committedOffset 0 Guid 678a3014-62da5d4a-bbbbc9-f1d8c268
2025-10-26T18:07:59.294577Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.294610Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.294703Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:59.294773Z node 14 :PERSQUEUE DEBUG: read cookie 4 Topic 'rt3.dc1--topic1' partition 0 user user offset 3 count 1 size 193 endOffset 4 max time lag 0ms effective offset 3
2025-10-26T18:07:59.294791Z node 14 :PERSQUEUE DEBUG: read cookie 4 added 0 blobs, size 0 count 0 last offset 3
2025-10-26T18:07:59.294822Z node 14 :PERSQUEUE DEBUG: Reading cookie 4. All data is from uncompacted head.
2025-10-26T18:07:59.294843Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:59.294983Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 3
2025-10-26T18:07:59.296069Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 1 event { CmdReadResult { MaxOffset: 4 Result { Offset: 3 Data: "... 98 bytes ..." SourceId: "\000source7" SeqNo: 1 WriteTimestampMS: 1761502079246 CreateTimestampMS: 1761502079237 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 3 WaitQuotaTimeMs: 0 } Cookie: 3 }
2025-10-26T18:07:59.296194Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 5 from offset4
2025-10-26T18:07:59.296229Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 4 ReadOffset 4 ReadGuid 678a3014-62da5d4a-bbbbc9-f1d8c268 has messages 1
2025-10-26T18:07:59.296354Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 678a3014-62da5d4a-bbbbc9-f1d8c268, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), size# 197
2025-10-26T18:07:59.296379Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 678a3014-62da5d4a-bbbbc9-f1d8c268
2025-10-26T18:07:59.296617Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:59.297478Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session got write response: sequence_numbers: 1 offsets: 3 already_written: false write_statistics { persist_duration_ms: 5 queued_in_partition_duration_ms: 41 }
2025-10-26T18:07:59.297531Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: acknoledged message 1
2025-10-26T18:07:59.302216Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:59.304771Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:59.304933Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# dd883379-a25215c7-9287dc4d-cd08c1b3
2025-10-26T18:07:59.341821Z :INFO: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session will now close
2025-10-26T18:07:59.341868Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: aborting
2025-10-26T18:07:59.342277Z :INFO: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:59.342306Z :DEBUG: [] MessageGroupId [source7] SessionId [source7|2e785c38-4d5140ac-9b605868-676589f1_0] Write session: destroy
2025-10-26T18:07:59.344144Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 8 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0 grpc read done: success: 0 data: 
2025-10-26T18:07:59.344176Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0 grpc read failed
2025-10-26T18:07:59.344686Z node 13 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 8 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0
2025-10-26T18:07:59.344710Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId: source7|2e785c38-4d5140ac-9b605868-676589f1_0 is DEAD
2025-10-26T18:07:59.345183Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:59.345916Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024366896:8424] destroyed
2025-10-26T18:07:59.345984Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:59.348577Z :DEBUG: [] MessageGroupId [source8] SessionId [] Write session: try to update token
2025-10-26T18:07:59.348836Z :INFO: [] MessageGroupId [source8] SessionId [] Write session: Do CDS request
2025-10-26T18:07:59.348861Z :INFO: [] MessageGroupId [source8] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:59.363048Z :DEBUG: [] MessageGroupId [source8] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source8" }
2025-10-26T18:07:59.363613Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:59.363649Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 9
2025-10-26T18:07:59.364106Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source8" }
2025-10-26T18:07:59.364285Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 9 topic: "topic1" message_group_id: "source8" from ipv6:[::1]:43402
2025-10-26T18:07:59.364311Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:59.364327Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:59.366594Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-26T18:07:59.366798Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:59.366814Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:59.366832Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:59.366858Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:59.370815Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:59.381462Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:59.381969Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366927:8406] connected; active server actors: 1
2025-10-26T18:07:59.382400Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=source8
2025-10-26T18:07:59.382431Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:59.385552Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366927:8406] disconnected; active server actors: 1
2025-10-26T18:07:59.385596Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366927:8406] disconnected no session
2025-10-26T18:07:59.408951Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:59.409021Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:59.409049Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366909:8406] (SourceId=source8, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:59.409087Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 9 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:59.412267Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:59.411005Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024366938:8406], now have 1 active actors on pipe
2025-10-26T18:07:59.412640Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.412673Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.412794Z node 14 :PERSQUEUE INFO: new Cookie source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 generated for partition 1 topic 'rt3.dc1--topic1' owner source8
2025-10-26T18:07:59.412894Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 1
2025-10-26T18:07:59.412987Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.413699Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.413734Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.413868Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.414689Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 9 partition: 1 MaxSeqNo: 0 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0
2025-10-26T18:07:59.416897Z :INFO: [] MessageGroupId [source8] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502079416 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:59.417035Z :INFO: [] MessageGroupId [source8] SessionId [] Write session established. Init response: session_id: "source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:59.417334Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:59.417412Z :INFO: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:59.418279Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: try to update token
2025-10-26T18:07:59.418327Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:59.419030Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 9 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:59.419314Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:59.420416Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:59.419925Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.419965Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.420071Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:59.420867Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.420887Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.420942Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 1 SourceId: '\0source8' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:59.421128Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob processing sourceId '\0source8' seqNo 1 partNo 0
2025-10-26T18:07:59.422713Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 part blob complete sourceId '\0source8' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 4 PartNo 0 PackedSize 173 count 1 nextOffset 5 batches 1
2025-10-26T18:07:59.423407Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 1 compactOffset 4,1 HeadOffset 0 endOffset 4 curOffset 5 d0000000001_00000000000000000004_00000_0000000001_00000| size 161 WTime 1761502079423
2025-10-26T18:07:59.423645Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.431807Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.431855Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 1
2025-10-26T18:07:59.431898Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source8', Topic: 'rt3.dc1--topic1', Partition: 1, SeqNo: 1, partNo: 0, Offset: 4 is stored on disk
2025-10-26T18:07:59.432143Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:59.432868Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait for data done:  readOffset 4 EndOffset 4 newEndOffset 5 commitOffset 0 clientCommitOffset 0 cookie 5 readingFinished 0 firstRead 0
2025-10-26T18:07:59.432903Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) ready for read with readOffset 4 endOffset 5
2025-10-26T18:07:59.432988Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::IEventHandle
2025-10-26T18:07:59.433419Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), readOffset# 4, endOffset# 5, WTime# 1761502079071, sizeLag# 161
2025-10-26T18:07:59.433434Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:59.433474Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# dd883379-a25215c7-9287dc4d-cd08c1b3, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:59.433520Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 4 EndOffset 5 ClientCommitOffset 0 committedOffset 0 Guid dd883379-a25215c7-9287dc4d-cd08c1b3
2025-10-26T18:07:59.436788Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.436827Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.436989Z node 14 :PERSQUEUE DEBUG: read cookie 5 Topic 'rt3.dc1--topic1' partition 1 user user offset 4 count 1 size 193 endOffset 5 max time lag 0ms effective offset 4
2025-10-26T18:07:59.437007Z node 14 :PERSQUEUE DEBUG: read cookie 5 added 0 blobs, size 0 count 0 last offset 4
2025-10-26T18:07:59.437039Z node 14 :PERSQUEUE DEBUG: Reading cookie 5. All data is from uncompacted head.
2025-10-26T18:07:59.437062Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:59.437194Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 4
2025-10-26T18:07:59.437261Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:59.438434Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session got write response: sequence_numbers: 1 offsets: 4 already_written: false partition_id: 1 write_statistics { persist_duration_ms: 9 queued_in_partition_duration_ms: 2 }
2025-10-26T18:07:59.438483Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: acknoledged message 1
2025-10-26T18:07:59.438151Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) initDone 1 event { CmdReadResult { MaxOffset: 5 Result { Offset: 4 Data: "... 98 bytes ..." SourceId: "\000source8" SeqNo: 1 WriteTimestampMS: 1761502079419 CreateTimestampMS: 1761502079417 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 4 WaitQuotaTimeMs: 0 } Cookie: 4 }
2025-10-26T18:07:59.438290Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) wait data in partition inited, cookie 6 from offset5
2025-10-26T18:07:59.438329Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1) EndOffset 5 ReadOffset 5 ReadGuid dd883379-a25215c7-9287dc4d-cd08c1b3 has messages 1
2025-10-26T18:07:59.438456Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# dd883379-a25215c7-9287dc4d-cd08c1b3, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1), size# 199
2025-10-26T18:07:59.438481Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# dd883379-a25215c7-9287dc4d-cd08c1b3
2025-10-26T18:07:59.438726Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:59.441139Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:59.446583Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:59.446778Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# 8ad6585f-91d5b531-37ec07d-ce18e14f
2025-10-26T18:07:59.517739Z :INFO: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session will now close
2025-10-26T18:07:59.517787Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: aborting
2025-10-26T18:07:59.518163Z :INFO: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:59.518208Z :DEBUG: [] MessageGroupId [source8] SessionId [source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0] Write session: destroy
2025-10-26T18:07:59.520191Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 9 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:59.520221Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 grpc read failed
2025-10-26T18:07:59.520257Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 grpc closed
2025-10-26T18:07:59.520282Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: source8|8d94bd72-cce01777-1c5e6eec-d7d82a1c_0 is DEAD
2025-10-26T18:07:59.521171Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:59.522159Z :DEBUG: [] MessageGroupId [source9] SessionId [] Write session: try to update token
2025-10-26T18:07:59.522447Z :INFO: [] MessageGroupId [source9] SessionId [] Write session: Do CDS request
2025-10-26T18:07:59.522470Z :INFO: [] MessageGroupId [source9] SessionId [] Start write session. Will connect to endpoint: localhost:15795
2025-10-26T18:07:59.526999Z node 13 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:59.527033Z node 13 :PQ_WRITE_PROXY DEBUG: new session created cookie 10
2025-10-26T18:07:59.527873Z :DEBUG: [] MessageGroupId [source9] SessionId [] Write session: send init request: init_request { topic: "topic1" message_group_id: "source9" }
2025-10-26T18:07:59.528547Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source9" }
2025-10-26T18:07:59.528703Z node 13 :PQ_WRITE_PROXY INFO: session request cookie: 10 topic: "topic1" message_group_id: "source9" from ipv6:[::1]:43402
2025-10-26T18:07:59.528733Z node 13 :PQ_WRITE_PROXY INFO: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:43402 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:59.528745Z node 13 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:59.525876Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024366938:8406] destroyed
2025-10-26T18:07:59.525988Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::DropOwner.
2025-10-26T18:07:59.530834Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-26T18:07:59.531018Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper SelectQuery: --!syntax_v1
DECLARE $Hash AS Uint32; DECLARE $Topic AS Utf8; DECLARE $SourceId AS Utf8;
SELECT Partition, CreateTime, AccessTime, SeqNo FROM `/Root/PQ/SourceIdMeta2` WHERE Hash == $Hash AND Topic == $Topic AND SourceId == $SourceId;
2025-10-26T18:07:59.531033Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;DECLARE $SeqNo AS Uint64;
UPSERT INTO `/Root/PQ/SourceIdMeta2` (Hash, Topic, SourceId, CreateTime, AccessTime, Partition, SeqNo) VALUES ($Hash, $Topic, $SourceId, $CreateTime, $AccessTime, $Partition, $SeqNo);
2025-10-26T18:07:59.531049Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TTableHelper UpdateAccessTimeQuery: --!syntax_v1
DECLARE $SourceId AS Utf8; DECLARE $Topic AS Utf8; DECLARE $Hash AS Uint32; DECLARE $Partition AS Uint32; DECLARE $CreateTime AS Uint64; DECLARE $AccessTime AS Uint64;
UPDATE `/Root/PQ/SourceIdMeta2` SET AccessTime = $AccessTime WHERE Hash = $Hash AND Topic = $Topic AND SourceId = $SourceId AND Partition = $Partition;
2025-10-26T18:07:59.531070Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:59.536478Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:59.557305Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:59.557861Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366970:8409] connected; active server actors: 1
2025-10-26T18:07:59.558103Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=source9
2025-10-26T18:07:59.558130Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:59.558852Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366970:8409] disconnected; active server actors: 1
2025-10-26T18:07:59.558882Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366970:8409] disconnected no session
2025-10-26T18:07:59.575270Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:59.575326Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:59.575354Z node 13 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [13:7565593822024366950:8409] (SourceId=source9, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:59.575395Z node 13 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 10 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:59.577131Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 14, Generation: 1
2025-10-26T18:07:59.577340Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024366979:8409], now have 1 active actors on pipe
2025-10-26T18:07:59.579795Z :INFO: [] MessageGroupId [source9] SessionId [] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1761502079579 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:07:59.579922Z :INFO: [] MessageGroupId [source9] SessionId [] Write session established. Init response: session_id: "source9|20f3a60a-70739c4b-ae608922-cb31ad32_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP
2025-10-26T18:07:59.580156Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write 1 messages with Id from 1 to 1
2025-10-26T18:07:59.580222Z :INFO: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: close. Timeout = 10000 ms
2025-10-26T18:07:59.578959Z node 13 :PQ_WRITE_PROXY INFO: session inited cookie: 10 partition: 0 MaxSeqNo: 0 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0
2025-10-26T18:07:59.577588Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.577619Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.577730Z node 14 :PERSQUEUE INFO: new Cookie source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 generated for partition 0 topic 'rt3.dc1--topic1' owner source9
2025-10-26T18:07:59.577813Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyOwnerOk. Partition: 0
2025-10-26T18:07:59.577895Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.578516Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.578537Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.578634Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 0
2025-10-26T18:07:59.582195Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: try to update token
2025-10-26T18:07:59.582242Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Send 1 message(s) (0 left), first sequence number is 1
2025-10-26T18:07:59.586006Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 10 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:59.586397Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:59.587071Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.587117Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.587236Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 1
2025-10-26T18:07:59.587610Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:59.588102Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.588127Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.588181Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message topic: rt3.dc1--topic1 partition: 0 SourceId: '\0source9' SeqNo: 1 partNo : 0 messageNo: 1 size 98 offset: -1
2025-10-26T18:07:59.588374Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob processing sourceId '\0source9' seqNo 1 partNo 0
2025-10-26T18:07:59.658695Z node 13 :FLAT_TX_SCHEMESHARD WARN: Cannot get console configs
2025-10-26T18:07:59.658727Z node 13 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:07:59.674228Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 part blob complete sourceId '\0source9' seqNo 1 partNo 0 FormedBlobsCount 0 NewHead: Offset 4 PartNo 0 PackedSize 173 count 1 nextOffset 5 batches 1
2025-10-26T18:07:59.674913Z node 14 :PERSQUEUE DEBUG: Add new write blob: topic 'rt3.dc1--topic1' partition 0 compactOffset 4,1 HeadOffset 0 endOffset 4 curOffset 5 d0000000000_00000000000000000004_00000_0000000001_00000| size 161 WTime 1761502079674
2025-10-26T18:07:59.675155Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.684789Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait for data done:  readOffset 4 EndOffset 4 newEndOffset 5 commitOffset 0 clientCommitOffset 0 cookie 5 readingFinished 0 firstRead 0
2025-10-26T18:07:59.684821Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) ready for read with readOffset 4 endOffset 5
2025-10-26T18:07:59.684883Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::IEventHandle
2025-10-26T18:07:59.685292Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 partition ready for read: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), readOffset# 4, endOffset# 5, WTime# 1761502079246, sizeLag# 161
2025-10-26T18:07:59.685307Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1TEvPartitionReady. Aval parts: 1
2025-10-26T18:07:59.685343Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 performing read request: guid# 8ad6585f-91d5b531-37ec07d-ce18e14f, from# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), count# 1, size# 193, partitionsAsked# 1, maxTimeLag# 0ms
2025-10-26T18:07:59.685387Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 READ FROM TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)maxCount 1 maxSize 193 maxTimeLagMs 0 readTimestampMs 0 readOffset 4 EndOffset 5 ClientCommitOffset 0 committedOffset 0 Guid 8ad6585f-91d5b531-37ec07d-ce18e14f
2025-10-26T18:07:59.687340Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session got write response: sequence_numbers: 1 offsets: 4 already_written: false write_statistics { persist_duration_ms: 10 queued_in_partition_duration_ms: 83 }
2025-10-26T18:07:59.687386Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: acknoledged message 1
2025-10-26T18:07:59.687658Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) initDone 1 event { CmdReadResult { MaxOffset: 5 Result { Offset: 4 Data: "... 98 bytes ..." SourceId: "\000source9" SeqNo: 1 WriteTimestampMS: 1761502079587 CreateTimestampMS: 1761502079580 UncompressedSize: 15 PartitionKey: "" ExplicitHash: "" } BlobsFromDisk: 0 BlobsFromCache: 0 SizeLag: 20 RealReadOffset: 4 WaitQuotaTimeMs: 0 } Cookie: 4 }
2025-10-26T18:07:59.687765Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) wait data in partition inited, cookie 6 from offset5
2025-10-26T18:07:59.687797Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 after read state TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2) EndOffset 5 ReadOffset 5 ReadGuid 8ad6585f-91d5b531-37ec07d-ce18e14f has messages 1
2025-10-26T18:07:59.687913Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 read done: guid# 8ad6585f-91d5b531-37ec07d-ce18e14f, partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2), size# 197
2025-10-26T18:07:59.687937Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 response to read: guid# 8ad6585f-91d5b531-37ec07d-ce18e14f
2025-10-26T18:07:59.688127Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Process answer. Aval parts: 0
2025-10-26T18:07:59.688869Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] After sending read request: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-10-26T18:07:59.684034Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 106 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.684080Z node 14 :PERSQUEUE DEBUG: TPartition::ReplyWrite. Partition: 0
2025-10-26T18:07:59.684120Z node 14 :PERSQUEUE DEBUG: Answering for message sourceid: '\0source9', Topic: 'rt3.dc1--topic1', Partition: 0, SeqNo: 1, partNo: 0, Offset: 4 is stored on disk
2025-10-26T18:07:59.684361Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 1  requestId: <none> cookie: 1
2025-10-26T18:07:59.686737Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.686768Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.686831Z node 14 :PERSQUEUE DEBUG: Read proxy: bootstrap for direct read id: 0
2025-10-26T18:07:59.686914Z node 14 :PERSQUEUE DEBUG: read cookie 5 Topic 'rt3.dc1--topic1' partition 0 user user offset 4 count 1 size 193 endOffset 5 max time lag 0ms effective offset 4
2025-10-26T18:07:59.686933Z node 14 :PERSQUEUE DEBUG: read cookie 5 added 0 blobs, size 0 count 0 last offset 4
2025-10-26T18:07:59.686965Z node 14 :PERSQUEUE DEBUG: Reading cookie 5. All data is from uncompacted head.
2025-10-26T18:07:59.686986Z node 14 :PERSQUEUE DEBUG: FormAnswer 0
2025-10-26T18:07:59.687098Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 4
2025-10-26T18:07:59.692701Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { read { } }
2025-10-26T18:07:59.692865Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got read request: guid# d9ab4c06-7531c2a3-b988202d-b286bd77
2025-10-26T18:07:59.785604Z :INFO: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session will now close
2025-10-26T18:07:59.785648Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: aborting
2025-10-26T18:07:59.786100Z :INFO: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: gracefully shut down, all writes complete
2025-10-26T18:07:59.786134Z :DEBUG: [] MessageGroupId [source9] SessionId [source9|20f3a60a-70739c4b-ae608922-cb31ad32_0] Write session: destroy
===== Write =====
MessagesInflight: 10
BytesInflightUncompressed: 0
BytesInflightCompressed: 270
BytesInflightTotal: 270
============
===== StartFuncs-1 =====
MessagesInflight: 10
BytesInflightUncompressed: 0
BytesInflightCompressed: 270
BytesInflightTotal: 270
============
2025-10-26T18:07:59.795028Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 1 (0-0)
2025-10-26T18:07:59.795172Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 0 (0-0)
2025-10-26T18:07:59.795225Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 0 (1-1)
2025-10-26T18:07:59.795275Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 1 (1-1)
2025-10-26T18:07:59.795330Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 1 (2-2)
2025-10-26T18:07:59.795727Z :DEBUG: [] Take Data. Partition 1. Read: {0, 0} (0-0)
2025-10-26T18:07:59.795806Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] The application data is transferred to the client. Number of messages 1, size 15 bytes
Got message: DataReceived { PartitionStreamId: 1 PartitionId: 1 Message { Data: ..15 bytes.. Partition stream id: 1 Cluster: "dc1". Topic: "topic1" Partition: 1 PartitionKey: "" Information: { Offset: 0 SeqNo: 1 MessageGroupId: "source0" CreateTime: 2025-10-26T18:07:57.753000Z WriteTime: 2025-10-26T18:07:57.764000Z Ip: "ipv6:[::1]:43402" UncompressedSize: 15 Meta: { "ident": "unknown", "logtype": "unknown", "server": "ipv6:[::1]:43402" } } } }
2025-10-26T18:07:59.796057Z :DEBUG: [] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-10-26T18:07:59.796111Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] The application data is transferred to the client. Number of messages 1, size 15 bytes
Got message: DataReceived { PartitionStreamId: 2 PartitionId: 0 Message { Data: ..15 bytes.. Partition stream id: 2 Cluster: "dc1". Topic: "topic1" Partition: 0 PartitionKey: "" Information: { Offset: 0 SeqNo: 1 MessageGroupId: "source1" CreateTime: 2025-10-26T18:07:57.939000Z WriteTime: 2025-10-26T18:07:57.942000Z Ip: "ipv6:[::1]:43402" UncompressedSize: 15 Meta: { "ident": "unknown", "logtype": "unknown", "server": "ipv6:[::1]:43402" } } } }
2025-10-26T18:07:59.796343Z :DEBUG: [] Take Data. Partition 0. Read: {0, 0} (1-1)
2025-10-26T18:07:59.796395Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] The application data is transferred to the client. Number of messages 1, size 15 bytes
Got message: DataReceived { PartitionStreamId: 2 PartitionId: 0 Message { Data: ..15 bytes.. Partition stream id: 2 Cluster: "dc1". Topic: "topic1" Partition: 0 PartitionKey: "" Information: { Offset: 1 SeqNo: 1 MessageGroupId: "source2" CreateTime: 2025-10-26T18:07:58.141000Z WriteTime: 2025-10-26T18:07:58.148000Z Ip: "ipv6:[::1]:43402" UncompressedSize: 15 Meta: { "ident": "unknown", "logtype": "unknown", "server": "ipv6:[::1]:43402" } } } }
2025-10-26T18:07:59.796609Z :DEBUG: [] Take Data. Partition 1. Read: {0, 0} (1-1)
2025-10-26T18:07:59.796660Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] The application data is transferred to the client. Number of messages 1, size 15 bytes
Got message: DataReceived { PartitionStreamId: 1 PartitionId: 1 Message { Data: ..15 bytes.. Partition stream id: 1 Cluster: "dc1". Topic: "topic1" Partition: 1 PartitionKey: "" Information: { Offset: 1 SeqNo: 1 MessageGroupId: "source3" CreateTime: 2025-10-26T18:07:58.337000Z WriteTime: 2025-10-26T18:07:58.338000Z Ip: "ipv6:[::1]:43402" UncompressedSize: 15 Meta: { "ident": "unknown", "logtype": "unknown", "server": "ipv6:[::1]:43402" } } } }
2025-10-26T18:07:59.796862Z :DEBUG: [] Take Data. Partition 1. Read: {0, 0} (2-2)
2025-10-26T18:07:59.796922Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] The application data is transferred to the client. Number of messages 1, size 15 bytes
Got message: DataReceived { PartitionStreamId: 1 PartitionId: 1 Message { Data: ..15 bytes.. Partition stream id: 1 Cluster: "dc1". Topic: "topic1" Partition: 1 PartitionKey: "" Information: { Offset: 2 SeqNo: 1 MessageGroupId: "source4" CreateTime: 2025-10-26T18:07:58.514000Z WriteTime: 2025-10-26T18:07:58.532000Z Ip: "ipv6:[::1]:43402" UncompressedSize: 15 Meta: { "ident": "unknown", "logtype": "unknown", "server": "ipv6:[::1]:43402" } } } }
===== doRead(5) =====
MessagesInflight: 5
BytesInflightUncompressed: 0
BytesInflightCompressed: 135
BytesInflightTotal: 135
============
>>>> Restart balancer
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
2025-10-26T18:07:59.797776Z node 13 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 10 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 grpc read done: success: 0 data: 
2025-10-26T18:07:59.797810Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 grpc read failed
2025-10-26T18:07:59.797851Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 grpc closed
2025-10-26T18:07:59.797873Z node 13 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId: source9|20f3a60a-70739c4b-ae608922-cb31ad32_0 is DEAD
2025-10-26T18:07:59.798840Z node 13 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:59.803083Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024366979:8409] destroyed
2025-10-26T18:07:59.803171Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::DropOwner.
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715676
    CreateStep: 1761502075984
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 2
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 2
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 1
    }
    BalancerTabletID: 72075186224037893
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 2
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxC...
(TRUNCATED)
{ Status: 1 StatusCode: SUCCESS SchemeStatus: 0 PathDescription { Self { Name: "rt3.dc1--topic1" PathId: 9 SchemeshardId: 72057594046644480 PathType: EPathTypePersQueueGroup CreateFinished: true CreateTxId: 281474976715676 CreateStep: 1761502075984 ParentPathId: 2 PathState: EPathStateNoChanges Owner: "root@builtin" ACL: "" EffectiveACL: "" PathVersion: 2 PathSubType: EPathSubTypeEmpty Version { GeneralVersion: 2 ACLVersion: 0 EffectiveACLVersion: 0 UserAttrsVersion: 1 ChildrenVersion: 0 PQVersion: 1 } BalancerTabletID: 72075186224037893 } PersQueueGroup { Name: "rt3.dc1--topic1" PathId: 9 TotalGroupCount: 2 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 } Partitions { PartitionId: 1 TabletId: 72075186224037892 Status: Active } AlterVersion: 1 BalancerTabletID: 72075186224037893 NextPartitionId: 2 } 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: 2 PQPartitionsLimit: 1000000 } } Path: "/Root/PQ/rt3.dc1--topic1" }
2025-10-26T18:07:59.826005Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 balancer dead, restarting all from topic: topic# Topic rt3.dc1--topic1 in dc dc1 in database: Root
2025-10-26T18:07:59.826369Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got all from client, actual releasing: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)
2025-10-26T18:07:59.826441Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 released: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:2)
2025-10-26T18:07:59.826520Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got all from client, actual releasing: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)
2025-10-26T18:07:59.826544Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 released: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:1)
2025-10-26T18:07:59.826676Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 register session: topic# rt3.dc1--topic1
2025-10-26T18:07:59.827109Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593804844497051:10] destroyed
2025-10-26T18:07:59.828225Z node 14 :PERSQUEUE DEBUG: PQ: Destroy direct read session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.828271Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593813434431858:8432] destroyed
2025-10-26T18:07:59.828299Z node 14 :PERSQUEUE DEBUG: PQ: Destroy direct read session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.828313Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593813434431859:8392] destroyed
2025-10-26T18:07:59.828429Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: server session deregistered: shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.828522Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: server session deregistered: shared/user_13_1_6580555518418949378_v1
>>>> Balancer restarted
2025-10-26T18:07:59.864423Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) 
2025-10-26T18:07:59.864602Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366994:8431] connected; active server actors: 1
2025-10-26T18:07:59.864726Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037893
2025-10-26T18:07:59.865281Z node 13 :PERSQUEUE_READ_BALANCER NOTICE: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer "user" register session for pipe [13:7565593822024366994:8431] session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.865324Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register readable partition 0
2025-10-26T18:07:59.865373Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family created family=1 (Status=Free, Partitions=[0])
2025-10-26T18:07:59.865390Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register readable partition 1
2025-10-26T18:07:59.865415Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family created family=2 (Status=Free, Partitions=[1])
2025-10-26T18:07:59.865451Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user register reading session ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593822024366994:8431], Partitions=[], ActiveFamilyCount=0)
2025-10-26T18:07:59.865477Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user rebalancing was scheduled
2025-10-26T18:07:59.865557Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing. Sessions=1, Families=2, UnradableFamilies=2 [2 (1), 1 (0), ], RequireBalancing=0 []
2025-10-26T18:07:59.865605Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing family=2 (Status=Free, Partitions=[1]) for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593822024366994:8431], Partitions=[], ActiveFamilyCount=0)
2025-10-26T18:07:59.865670Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family 2 status Active partitions [1] session "shared/user_13_1_6580555518418949378_v1" sender [13:7565593813434431850:8431] lock partition 1 for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593822024366994:8431], Partitions=[], ActiveFamilyCount=1) generation 2 step 1
2025-10-26T18:07:59.865747Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing family=1 (Status=Free, Partitions=[0]) for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593822024366994:8431], Partitions=[], ActiveFamilyCount=1)
2025-10-26T18:07:59.865782Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user family 1 status Active partitions [0] session "shared/user_13_1_6580555518418949378_v1" sender [13:7565593813434431850:8431] lock partition 0 for ReadingSession "shared/user_13_1_6580555518418949378_v1" (Sender=[13:7565593813434431850:8431], Pipe=[13:7565593822024366994:8431], Partitions=[], ActiveFamilyCount=2) generation 2 step 2
2025-10-26T18:07:59.865823Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user start rebalancing. familyCount=2, sessionCount=1, desiredFamilyCount=2, allowPlusOne=0
2025-10-26T18:07:59.865853Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037893] topic rt3.dc1--topic1 consumer user balancing duration: 0.000273s
2025-10-26T18:07:59.865893Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72057594046644480, NodeId 13, Generation 2
2025-10-26T18:07:59.866728Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 assign: record# { Partition: 1 TabletId: 72075186224037892 Topic: "rt3.dc1--topic1" Generation: 2 Step: 1 Session: "shared/user_13_1_6580555518418949378_v1" ClientId: "user" PipeClient { RawX1: 7565593822024366994 RawX2: 4503655461953775 } Path: "/Root/PQ/rt3.dc1--topic1" }
2025-10-26T18:07:59.866892Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 assign: record# { Partition: 0 TabletId: 72075186224037892 Topic: "rt3.dc1--topic1" Generation: 2 Step: 2 Session: "shared/user_13_1_6580555518418949378_v1" ClientId: "user" PipeClient { RawX1: 7565593822024366994 RawX2: 4503655461953775 } Path: "/Root/PQ/rt3.dc1--topic1" }
2025-10-26T18:07:59.866964Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INITING TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3)
2025-10-26T18:07:59.867037Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INITING TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4)
2025-10-26T18:07:59.871069Z node 13 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037893 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037892, NodeId 14, Generation 1
2025-10-26T18:07:59.871774Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) pipe restart attempt 0 pipe creation result: OK TabletId: 72075186224037892 Generation: 1
2025-10-26T18:07:59.871842Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) pipe restart attempt 0 pipe creation result: OK TabletId: 72075186224037892 Generation: 1
2025-10-26T18:07:59.873787Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024367044:10], now have 1 active actors on pipe
2025-10-26T18:07:59.873886Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024367048:8424], now have 1 active actors on pipe
2025-10-26T18:07:59.873903Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server connected, pipe [13:7565593822024367049:8447], now have 1 active actors on pipe
2025-10-26T18:07:59.873963Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.873983Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 1
2025-10-26T18:07:59.874006Z node 14 :PERSQUEUE DEBUG: Created session shared/user_13_1_6580555518418949378_v1 on pipe: [13:7565593822024367048:8424]
2025-10-26T18:07:59.874065Z node 14 :PERSQUEUE DEBUG: Handle TEvRequest topic: 'rt3.dc1--topic1' requestId: <none>
2025-10-26T18:07:59.874075Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 got client message batch for topic 'rt3.dc1--topic1' partition 0
2025-10-26T18:07:59.874089Z node 14 :PERSQUEUE DEBUG: Created session shared/user_13_1_6580555518418949378_v1 on pipe: [13:7565593822024367049:8447]
2025-10-26T18:07:59.874205Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 0 user user session is set to 0 (startOffset 0) session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.874370Z node 14 :PERSQUEUE DEBUG: Topic 'rt3.dc1--topic1' partition 1 user user session is set to 0 (startOffset 0) session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:07:59.874442Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.874533Z node 14 :PERSQUEUE DEBUG: CacheProxy. Passthrough write request to KV
2025-10-26T18:07:59.875025Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: registered server session: shared/user_13_1_6580555518418949378_v1:3 with generation 1
2025-10-26T18:07:59.875068Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: registered server session: shared/user_13_1_6580555518418949378_v1:4 with generation 1
2025-10-26T18:07:59.886132Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 0, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.886238Z node 14 :PERSQUEUE DEBUG: [PQ: 72075186224037892, Partition: 1, State: StateIdle] TPartition::HandleWriteResponse writeNewSize# 0 WriteNewSizeFromSupportivePartitions# 0
2025-10-26T18:07:59.886290Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 0 messageNo: 0  requestId: <none> cookie: 18446744073709551615
2025-10-26T18:07:59.886342Z node 14 :PERSQUEUE DEBUG: Answer ok topic: 'rt3.dc1--topic1' partition: 1 messageNo: 0  requestId: <none> cookie: 18446744073709551615
2025-10-26T18:07:59.886954Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) initDone 0 event { CmdGetClientOffsetResult { Offset: 0 EndOffset: 5 WriteTimestampMS: 1761502077942 CreateTimestampMS: 1761502077939 SizeLag: 805 WriteTimestampEstimateMS: 1761502079799 } Cookie: 18446744073709551615 }
2025-10-26T18:07:59.886997Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INIT DONE TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) EndOffset 5 readOffset 0 committedOffset 0
2025-10-26T18:07:59.887081Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) initDone 0 event { CmdGetClientOffsetResult { Offset: 0 EndOffset: 5 WriteTimestampMS: 1761502077764 CreateTimestampMS: 1761502077753 SizeLag: 805 WriteTimestampEstimateMS: 1761502079851 } Cookie: 18446744073709551615 }
2025-10-26T18:07:59.887099Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 INIT DONE TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) EndOffset 5 readOffset 0 committedOffset 0
2025-10-26T18:07:59.887133Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 sending to client partition status
2025-10-26T18:07:59.887362Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 sending to client partition status
===== StartFuncs-2 =====
MessagesInflight: 5
BytesInflightUncompressed: 0
BytesInflightCompressed: 135
BytesInflightTotal: 135
============
Got message: PartitionStreamClosed { PartitionStreamId: 2 PartitionId: 0 Reason: Lost }
Got message: PartitionStreamClosed { PartitionStreamId: 1 PartitionId: 1 Reason: Lost }
Got message: CreatePartitionStream { PartitionStreamId: 3 TopicPath: topic1 Cluster: dc1 PartitionId: 0 CommittedOffset: 0 EndOffset: 5 }
2025-10-26T18:08:04.833712Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Confirm partition stream create. Partition stream id: 3. Cluster: "dc1". Topic: "topic1". Partition: 0. Read offset: 5
Got message: CreatePartitionStream { PartitionStreamId: 4 TopicPath: topic1 Cluster: dc1 PartitionId: 1 CommittedOffset: 0 EndOffset: 5 }
2025-10-26T18:08:04.834126Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Confirm partition stream create. Partition stream id: 4. Cluster: "dc1". Topic: "topic1". Partition: 1. Read offset: 5
===== doRead(4) =====
MessagesInflight: 5
BytesInflightUncompressed: 0
BytesInflightCompressed: 135
BytesInflightTotal: 135
============
2025-10-26T18:08:04.834505Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 0 (2-2)
2025-10-26T18:08:04.834721Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 1 (3-3)
2025-10-26T18:08:04.834870Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 0 (3-3)
2025-10-26T18:08:04.834678Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { start_read { topic { path: "topic1" } cluster: "dc1" assign_id: 4 read_offset: 5 } }
2025-10-26T18:08:04.834832Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got StartRead from client: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4), readOffset# 5, commitOffset# 0
2025-10-26T18:08:04.835009Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 1 (4-4)
2025-10-26T18:08:04.834909Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Start reading TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) EndOffset 5 readOffset 0 committedOffset 0 clientCommitOffset 0 clientReadOffset 5
2025-10-26T18:08:04.834939Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) wait data in partition inited, cookie 1 from offset5
2025-10-26T18:08:04.835158Z :DEBUG: [] Decompression task done. Partition/PartitionSessionId: 0 (4-4)
2025-10-26T18:08:04.835556Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 1, data# { start_read { topic { path: "topic1" } cluster: "dc1" partition: 1 assign_id: 3 read_offset: 5 } }
2025-10-26T18:08:04.835677Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 got StartRead from client: partition# TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3), readOffset# 5, commitOffset# 0
2025-10-26T18:08:04.835711Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 Start reading TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) EndOffset 5 readOffset 0 committedOffset 0 clientCommitOffset 0 clientReadOffset 5
2025-10-26T18:08:04.835736Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) wait data in partition inited, cookie 1 from offset5
2025-10-26T18:08:08.866540Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 1(assignId:3) wait data in partition inited, cookie 2 from offset5
2025-10-26T18:08:08.866720Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 TopicId: Topic rt3.dc1--topic1 in dc dc1 in database: Root, partition 0(assignId:4) wait data in partition inited, cookie 2 from offset5
===== End =====
MessagesInflight: 0
BytesInflightUncompressed: 0
BytesInflightCompressed: 0
BytesInflightTotal: 0
============
2025-10-26T18:08:10.837965Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Closing read session. Close timeout: 0.000000s
2025-10-26T18:08:10.838039Z :INFO: [] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): null:topic1:1:4:0:0 null:topic1:0:3:0:0
2025-10-26T18:08:10.838089Z :INFO: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Counters: { Errors: 0 CurrentSessionLifetimeMs: 13674 BytesRead: 150 MessagesRead: 10 BytesReadCompressed: 270 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-10-26T18:08:10.838255Z :NOTICE: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Close with zero timeout " }
2025-10-26T18:08:10.838315Z :DEBUG: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] [null] Abort session to cluster
2025-10-26T18:08:10.839012Z :NOTICE: [] [] [8acf8fad-6e923bf6-d09b15af-2e779643] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
2025-10-26T18:08:10.843440Z node 13 :PQ_READ_PROXY DEBUG: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read done: success# 0, data# {  }
2025-10-26T18:08:10.843479Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc read failed
2025-10-26T18:08:10.843510Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 grpc closed
2025-10-26T18:08:10.843566Z node 13 :PQ_READ_PROXY INFO: session cookie 1 consumer shared/user session shared/user_13_1_6580555518418949378_v1 is DEAD
2025-10-26T18:08:10.845118Z node 14 :PERSQUEUE DEBUG: PQ: Destroy direct read session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:08:10.845208Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024367049:8447] destroyed
2025-10-26T18:08:10.845238Z node 14 :PERSQUEUE DEBUG: PQ: Destroy direct read session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:08:10.845237Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: server session deregistered: shared/user_13_1_6580555518418949378_v1
2025-10-26T18:08:10.845277Z node 14 :PQ_READ_PROXY DEBUG: Direct read cache: server session deregistered: shared/user_13_1_6580555518418949378_v1
2025-10-26T18:08:10.849802Z node 13 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366994:8431] disconnected; active server actors: 1
2025-10-26T18:08:10.849853Z node 13 :PERSQUEUE_READ_BALANCER NOTICE: balancer: [72075186224037893] topic rt3.dc1--topic1 pipe [13:7565593822024366994:8431] client user disconnected session shared/user_13_1_6580555518418949378_v1
2025-10-26T18:08:10.850024Z node 14 :PERSQUEUE DEBUG: Tablet 72075186224037892 server disconnected, pipe [13:7565593822024367048:8424] destroyed
