2025-10-26T18:07:06.264567Z node 11 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[11:7565593596470510116:4106];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:06.268885Z node 11 :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:06.278978Z node 12 :METADATA_PROVIDER WARN: fline=table_exists.cpp:54;actor=TTableExistsActor;event=undelivered;self_id=[12:7565593595482778822:8347];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:06.279066Z node 12 :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:06.311057Z node 12 :PQ_READ_PROXY DEBUG: Direct read cache created
2025-10-26T18:07:06.344512Z node 11 :PQ_READ_PROXY DEBUG: Direct read cache created
test_client.cpp: SetPath # /home/runner/.ya/build/build_root/70hy/00051a/r3tmp/tmpNx3jBM/pdisk_1.dat
2025-10-26T18:07:06.701141Z node 11 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:07:06.765757Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(11, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:07:06.765917Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(11, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:07:06.767640Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(12, (0,0,0,0)) VolatileState: Unknown -> Disconnected
2025-10-26T18:07:06.767747Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(12, (0,0,0,0)) VolatileState: Disconnected -> Connecting
2025-10-26T18:07:06.772767Z node 11 :HIVE WARN: HIVE#72057594037968897 Handle TEvInterconnect::TEvNodeConnected, NodeId 12 Cookie 12
2025-10-26T18:07:06.772885Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(11, (0,0,0,0)) VolatileState: Connecting -> Connected
2025-10-26T18:07:06.773857Z node 11 :HIVE WARN: HIVE#72057594037968897 Node(12, (0,0,0,0)) VolatileState: Connecting -> Connected
TServer::EnableGrpc on GrpcPort 24610, node 11
2025-10-26T18:07:06.851419Z node 11 :NET_CLASSIFIER WARN: distributable config is empty, broken or outdated, will use file: /home/runner/.ya/build/build_root/70hy/00051a/r3tmp/yandexntfkIl.tmp
2025-10-26T18:07:06.851452Z node 11 :NET_CLASSIFIER WARN: will try to initialize from file: /home/runner/.ya/build/build_root/70hy/00051a/r3tmp/yandexntfkIl.tmp
2025-10-26T18:07:06.851638Z node 11 :NET_CLASSIFIER WARN: successfully initialized from file: /home/runner/.ya/build/build_root/70hy/00051a/r3tmp/yandexntfkIl.tmp
2025-10-26T18:07:06.851814Z node 11 :NET_CLASSIFIER ERROR: got bad distributable configuration
2025-10-26T18:07:06.923207Z INFO: TTestServer started on Port 28110 GrpcPort 24610
TClient is connected to server localhost:28110
PQClient connected to localhost:24610
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
    }
  }
  DomainDescription {
    SchemeShardId_Depricated: 72057594046644480
    PathId_Depricated: 1
    ProcessingParams {
      Version: 0
      PlanResolution: 7
      Coordinators: 72057594046316545
      TimeCastBucketsPerMediator: 2
      Mediators: 72057594046382081
    }
    DomainKey {
      SchemeShard: 72057594046644480
      PathId: 1
    }
    PathsInside: 0
    PathsLimit: 10000
    Shard...
(TRUNCATED)
WaitRootIsUp 'Root' success.
2025-10-26T18:07:07.202773Z node 11 :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:07.258126Z node 11 :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:10.861429Z node 12 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [12:7565593612662648155:8390], 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:10.861939Z node 12 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=12&id=YTI5YWQyNTQtNGRmYThjMWEtZTg1YzgwYzQtZWYzMWI2OGM=, ActorId: [12:7565593612662648153:8389], ActorState: ExecuteState, TraceId: 01k8gv7tyxazbfsypw18kb6sat, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:07:10.863058Z node 12 :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:10.910487Z node 11 :KQP_COMPILE_ACTOR ERROR: Compilation failed, self: [11:7565593613650380312:4299], 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:10.913001Z node 11 :KQP_SESSION WARN: SessionId: ydb://session/3?node_id=11&id=MWViMDEyNzYtN2ZjZTJiZTktODc5YzliMGMtOGJhMWE2NDE=, ActorId: [11:7565593613650380310:4302], ActorState: ExecuteState, TraceId: 01k8gv7v0n42crncbvwdfnwrsm, ReplyQueryCompileError, status SCHEME_ERROR remove tx with tx_id: 
2025-10-26T18:07:10.914016Z node 11 :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:10.927253Z node 11 :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:11.051323Z node 11 :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:11.218261Z node 11 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpCreateTable, opId: 281474976715664:0, at schemeshard:  72057594046644480
2025-10-26T18:07:11.265000Z node 11 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[11:7565593596470510116:4106];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:11.265094Z node 11 :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:11.279316Z node 12 :METADATA_PROVIDER ERROR: fline=table_exists.cpp:59;actor=TTableExistsActor;event=timeout;self_id=[12:7565593595482778822:8347];send_to=[0:7307199536658146131:7762515];
2025-10-26T18:07:11.279397Z node 12 :METADATA_PROVIDER ERROR: fline=accessor_snapshot_base.cpp:68;action=cannot detect path existence;path=//Root/.metadata/initialization/migrations;error=timeout;
=== Init DC: UPSERT INTO `/Root/PQ/Config/V2/Cluster` (name, balancer, local, enabled, weight) VALUES ("dc1", "localhost", true, true, 1000), ("dc2", "dc2.logbroker.yandex.net", false, true, 1000);
2025-10-26T18:07:11.599425Z node 11 :KQP_EXECUTER ERROR: TxId: 281474976715665. Ctx: { TraceId: 01k8gv7vg71g935zfanwd5xfdf, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=11&id=OTY1NTNjNDgtNGYzZGVhMjAtNDAzYTMyYTMtZTVhMTczYTU=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
=== CheckClustersList. Subcribe to ClusterTracker from [11:7565593617945348044:12348] 
=== CheckClustersList. Ok
PQ Client: create topic: rt3.dc1--topic1 with 10 partitions
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:18.109353Z node 11 :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:24610
MetaRequest {
  CmdCreateTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 10
    Config {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMaxCounts: 6000000
      }
      LocalDC: true
      ReadRules: "user"
      ReadFromTimestampsMs: 0
      ConsumerFormatVersions: 0
      ConsumerCodecs {
      }
      Codecs {
        Ids: 0
        Ids: 1
        Ids: 2
        Codecs: "raw"
        Codecs: "gzip"
        Codecs: "lzop"
      }
      ReadRuleVersions: 0
    }
  }
}
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715679
  SchemeShardTabletId: 72057594046644480
  PathId: 9
}
ErrorCode: OK
AddTopic: rt3.dc1--topic1
===Run query:``DECLARE $version as Int64; DECLARE $path AS Utf8; DECLARE $cluster as Utf8; UPSERT INTO `/Root/PQ/Config/V2/Topics` (path, dc) VALUES ($path, $cluster); UPSERT INTO `/Root/PQ/Config/V2/Versions` (name, version) VALUES ("Topics", $version);`` with topic = topic1, dc = dc1
2025-10-26T18:07:18.165955Z node 11 :PERSQUEUE NOTICE: Tablet 72075186224037893 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:18.166015Z node 11 :PERSQUEUE INFO: Tablet 72075186224037893 doesn't have tx writes info
2025-10-26T18:07:18.176550Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic  pipe [11:7565593648010119739:8550] connected; active server actors: 1
2025-10-26T18:07:18.178991Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037894] topic rt3.dc1--topic1 updating configuration. Deleted partitions []. Added partitions [3, 0, 1, 6, 8, 9, 2, 5, 7, 4]
2025-10-26T18:07:18.180978Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: Discovered subdomain [OwnerId: 72057594046644480, LocalPathId: 1] state, outOfSpace = 0 at RB 72075186224037894
2025-10-26T18:07:18.184125Z node 12 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:18.184179Z node 12 :PERSQUEUE INFO: Tablet 72075186224037892 doesn't have tx writes info
2025-10-26T18:07:18.187618Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: BALANCER INIT DONE for rt3.dc1--topic1: (0, 72075186224037892) (1, 72075186224037892) (2, 72075186224037893) (3, 72075186224037892) (4, 72075186224037893) (5, 72075186224037893) (6, 72075186224037892) (7, 72075186224037893) (8, 72075186224037892) (9, 72075186224037893) 
2025-10-26T18:07:18.188141Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037894 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037892, NodeId 12, Generation 1
2025-10-26T18:07:18.191378Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037894 topic rt3.dc1--topic1 TEvClientConnected TabletId 72075186224037893, NodeId 11, Generation 1
2025-10-26T18:07:18.191408Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: tablet 72075186224037894 topic rt3.dc1--topic1 TEvClientConnected TabletId 72057594046644480, NodeId 11, Generation 2
2025-10-26T18:07:18.209722Z node 11 :PERSQUEUE INFO: bootstrapping 9 [11:7565593648010119835:4309]
2025-10-26T18:07:18.213123Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 9 generation 1 [11:7565593648010119835:4309]
2025-10-26T18:07:18.210563Z node 12 :PERSQUEUE INFO: bootstrapping 0 [12:7565593647022387003:8386]
2025-10-26T18:07:18.214508Z node 12 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 0 generation 1 [12:7565593647022387003:8386]
2025-10-26T18:07:18.215092Z node 12 :PERSQUEUE INFO: bootstrapping 1 [12:7565593647022387004:8391]
2025-10-26T18:07:18.216205Z node 11 :PERSQUEUE INFO: bootstrapping 2 [11:7565593648010119836:4323]
2025-10-26T18:07:18.216628Z node 12 :PERSQUEUE INFO: bootstrapping 6 [12:7565593647022387005:8378]
2025-10-26T18:07:18.217882Z node 12 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 1 generation 1 [12:7565593647022387004:8391]
2025-10-26T18:07:18.218857Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 2 generation 1 [11:7565593648010119836:4323]
2025-10-26T18:07:18.219292Z node 12 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 6 generation 1 [12:7565593647022387005:8378]
2025-10-26T18:07:18.219943Z node 12 :PERSQUEUE INFO: bootstrapping 8 [12:7565593647022387006:8393]
2025-10-26T18:07:18.220809Z node 11 :PERSQUEUE INFO: bootstrapping 5 [11:7565593648010119837:4319]
2025-10-26T18:07:18.223526Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 5 generation 1 [11:7565593648010119837:4319]
2025-10-26T18:07:18.222004Z node 12 :PERSQUEUE INFO: bootstrapping 3 [12:7565593647022387002:8410]
2025-10-26T18:07:18.222978Z node 12 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 8 generation 1 [12:7565593647022387006:8393]
2025-10-26T18:07:18.224620Z node 12 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 3 generation 1 [12:7565593647022387002:8410]
2025-10-26T18:07:18.225416Z node 11 :PERSQUEUE INFO: bootstrapping 7 [11:7565593648010119838:4341]
2025-10-26T18:07:18.227867Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 7 generation 1 [11:7565593648010119838:4341]
2025-10-26T18:07:18.230363Z node 11 :PERSQUEUE INFO: bootstrapping 4 [11:7565593648010119839:4327]
2025-10-26T18:07:18.232247Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 4 generation 1 [11:7565593648010119839:4327]
2025-10-26T18:07:18.325477Z node 12 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:18.327473Z node 11 :PERSQUEUE NOTICE: Tablet 72075186224037893 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:18.344640Z node 11 :KQP_EXECUTER ERROR: TxId: 281474976715680. Ctx: { TraceId: 01k8gv824t4hxy9xcv7wep9gxx, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=11&id=ODAxYjBiM2EtNTlmZjY3ODYtNGZjN2Y0OWUtMTUxNjg2NWE=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
===Query complete
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715679
    CreateStep: 1761502038247
    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: 72075186224037894
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 10
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMax...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715679
    CreateStep: 1761502038247
    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: 72075186224037894
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 10
    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
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    AlterVersion: 1
    BalancerTabletID: 72075186224037894
    NextPartitionId: 10
  }
  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: 7
    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: 10
    PQPartitionsLimit: 1000000
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version1
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:18.377372Z node 11 :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:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:18.889027Z node 11 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      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:18.910355Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:18.910406Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 1
2025-10-26T18:07:18.913986Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "12345678" }
2025-10-26T18:07:18.914190Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 1 topic: "topic1" message_group_id: "12345678" from ipv6:[::1]:60696
2025-10-26T18:07:18.914219Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=1 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:18.914233Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:18.916695Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId:  describe result for acl check
2025-10-26T18:07:18.916928Z node 11 :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:18.916944Z node 11 :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:18.916962Z node 11 :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:18.916987Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:18.920691Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:19.164381Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:19.165095Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087379:4301] connected; active server actors: 1
2025-10-26T18:07:19.165800Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=12345678
2025-10-26T18:07:19.165842Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:19.166637Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087379:4301] disconnected; active server actors: 1
2025-10-26T18:07:19.166671Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087379:4301] disconnected no session
2025-10-26T18:07:19.350559Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:19.350614Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-26T18:07:19.350640Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593648010120028:4301] (SourceId=12345678, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:19.350674Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 1 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-26T18:07:19.353757Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:19.354078Z node 12 :PERSQUEUE INFO: new Cookie 12345678|2bcc109c-9ee94cca-65492981-19309921_0 generated for partition 3 topic 'rt3.dc1--topic1' owner 12345678
2025-10-26T18:07:19.355209Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 1 partition: 3 MaxSeqNo: 0 sessionId: 12345678|2bcc109c-9ee94cca-65492981-19309921_0
2025-10-26T18:07:19.358557Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 1 sessionId: 12345678|2bcc109c-9ee94cca-65492981-19309921_0 grpc read done: success: 0 data: 
2025-10-26T18:07:19.358583Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|2bcc109c-9ee94cca-65492981-19309921_0 grpc read failed
2025-10-26T18:07:19.358770Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 1 sessionId: 12345678|2bcc109c-9ee94cca-65492981-19309921_0
2025-10-26T18:07:19.358798Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 1 sessionId: 12345678|2bcc109c-9ee94cca-65492981-19309921_0 is DEAD
2025-10-26T18:07:19.359219Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
Finish: 0 
2025-10-26T18:07:19.362361Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:19.362408Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 2
2025-10-26T18:07:19.363175Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-26T18:07:19.363432Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 2 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:60696
2025-10-26T18:07:19.363456Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=2 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:19.363469Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:19.365600Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId:  describe result for acl check
2025-10-26T18:07:19.365813Z node 11 :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:19.365831Z node 11 :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:19.365849Z node 11 :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:19.365873Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:19.369342Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:19.384638Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:19.385514Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087419:4332] connected; active server actors: 1
2025-10-26T18:07:19.387824Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087419:4332] disconnected; active server actors: 1
2025-10-26T18:07:19.387863Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593652305087419:4332] disconnected no session
2025-10-26T18:07:19.387105Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=source
2025-10-26T18:07:19.387145Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:19.397581Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:19.397658Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-26T18:07:19.397701Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593652305087401:4332] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:19.397739Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 2 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:19.398904Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:19.399098Z node 11 :PERSQUEUE INFO: new Cookie source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 generated for partition 4 topic 'rt3.dc1--topic1' owner source
2025-10-26T18:07:19.399634Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 2 partition: 4 MaxSeqNo: 0 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0
request: { write_request { sequence_numbers: 2 created_at_ms: 1761502039401 sent_at_ms: 1761502039401 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-26T18:07:19.406259Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:19.406709Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:19.407078Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:19.528132Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 3 created_at_ms: 1761502039531 sent_at_ms: 1761502039531 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-26T18:07:19.533964Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:19.534335Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:19.534741Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:19.541014Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 4 created_at_ms: 1761502039546 sent_at_ms: 1761502039546 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-26T18:07:19.549940Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:19.550337Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:19.550685Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:19.559251Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 5 created_at_ms: 1761502039565 sent_at_ms: 1761502039565 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue1" } }
2025-10-26T18:07:19.566808Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:19.567130Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:19.567555Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
1 0 
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:19.639459Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:19.640661Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read done: success: 0 data: 
2025-10-26T18:07:19.640676Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 grpc read failed
2025-10-26T18:07:19.640803Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0
2025-10-26T18:07:19.640828Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 2 sessionId: source|a5c023cc-5c3111fa-6e491289-7f0c6725_0 is DEAD
2025-10-26T18:07:19.641223Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:19.647146Z node 11 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      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
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdChangeTopic {
    Topic: "rt3.dc1--topic1"
    NumPartitions: 15
  }
}
2025-10-26T18:07:19.652730Z node 11 :FLAT_TX_SCHEMESHARD WARN: Operation part proposed ok, but propose itself is undo unsafe, suboperation type: ESchemeOpAlterPersQueueGroup, opId: 281474976715689:0, at schemeshard:  72057594046644480
CallPersQueueGRPC response:
Status: 129
ProxyErrorCode: 53
SchemeStatus: 1
FlatTxId {
  TxId: 281474976715689
  SchemeShardTabletId: 72057594046644480
}
ErrorCode: OK
Alter got 1
2025-10-26T18:07:19.675880Z node 12 :PERSQUEUE_READ_BALANCER DEBUG: balancer: [72075186224037894] topic rt3.dc1--topic1 updating configuration. Deleted partitions []. Added partitions [11, 13, 14, 12, 10]
2025-10-26T18:07:19.694726Z node 11 :PERSQUEUE NOTICE: Tablet 72075186224037895 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:19.694775Z node 11 :PERSQUEUE INFO: Tablet 72075186224037895 doesn't have tx writes info
2025-10-26T18:07:19.771129Z node 11 :PERSQUEUE INFO: bootstrapping 13 [11:7565593652305087624:4340]
2025-10-26T18:07:19.774004Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 13 generation 1 [11:7565593652305087624:4340]
2025-10-26T18:07:19.775935Z node 11 :PERSQUEUE INFO: bootstrapping 14 [11:7565593652305087625:4312]
2025-10-26T18:07:19.778895Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 14 generation 1 [11:7565593652305087625:4312]
2025-10-26T18:07:19.781359Z node 11 :PERSQUEUE INFO: bootstrapping 12 [11:7565593652305087626:4356]
2025-10-26T18:07:19.784334Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 12 generation 1 [11:7565593652305087626:4356]
2025-10-26T18:07:19.786380Z node 11 :PERSQUEUE INFO: bootstrapping 10 [11:7565593652305087627:4357]
2025-10-26T18:07:19.788809Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 10 generation 1 [11:7565593652305087627:4357]
2025-10-26T18:07:19.793093Z node 11 :PERSQUEUE INFO: bootstrapping 11 [11:7565593652305087623:4304]
2025-10-26T18:07:19.792350Z node 12 :PERSQUEUE NOTICE: Tablet 72075186224037892 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:19.797094Z node 11 :PERSQUEUE INFO: init complete for topic 'rt3.dc1--topic1' partition 11 generation 1 [11:7565593652305087623:4304]
2025-10-26T18:07:19.816261Z node 11 :PERSQUEUE NOTICE: Tablet 72075186224037893 disable metering: reason# billing is not enabled in BillingMeteringConfig
2025-10-26T18:07:19.816306Z node 11 :KQP_EXECUTER ERROR: TxId: 281474976715691. Ctx: { TraceId: 01k8gv83mfepazxbc0sffkzvp0, Database: , DatabaseId: /Root, SessionId: ydb://session/3?node_id=11&id=ZWM2MWJjYzctMTg4ZjBiYzItM2I2MWYwYTYtYTM4MDAyNWQ=, CurrentExecutionId: , CustomerSuppliedId: , PoolId: }. Database not set, use /Root
2025-10-26T18:07:19.832890Z node 11 :PERSQUEUE NOTICE: Tablet 72075186224037895 disable metering: reason# billing is not enabled in BillingMeteringConfig
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      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
Alter1 got 1
2025-10-26T18:07:19.857793Z node 11 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
2025-10-26T18:07:20.366139Z node 11 :PERSQUEUE INFO: proxy answer <none>
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 10
      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
Alter1 got 1
CallPersQueueGRPC request to localhost:24610
MetaRequest {
  CmdGetTopicMetadata {
    Topic: "rt3.dc1--topic1"
  }
}
CallPersQueueGRPC response:
Status: 1
ErrorCode: OK
MetaResponse {
  CmdGetTopicMetadataResult {
    TopicInfo {
      Topic: "rt3.dc1--topic1"
      NumPartitions: 15
      Config {
        PartitionConfig {
          LifetimeSeconds: 86400
          LowWatermark: 8388608
          SourceIdLifetimeSeconds: 86400
          WriteSpeedInBytesPerSecond: 20000000
          BurstSize: 20000000
          SourceIdMaxCounts: 6000000
        }
        Version: 2
        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: 2
TClient::Ls request: /Root/PQ/rt3.dc1--topic1
2025-10-26T18:07:20.874883Z node 11 :PERSQUEUE INFO: proxy answer <none>
TClient::Ls response: Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715679
    CreateStep: 1761502038247
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    BalancerTabletID: 72075186224037894
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 15
    PartitionPerTablet: 5
    PQTabletConfig {
      PartitionConfig {
        LifetimeSeconds: 86400
        LowWatermark: 8388608
        SourceIdLifetimeSeconds: 86400
        WriteSpeedInBytesPerSecond: 20000000
        BurstSize: 20000000
        SourceIdMax...
(TRUNCATED)
GetTopicVersionFromPath:  record Status: 1
StatusCode: SUCCESS
SchemeStatus: 0
PathDescription {
  Self {
    Name: "rt3.dc1--topic1"
    PathId: 9
    SchemeshardId: 72057594046644480
    PathType: EPathTypePersQueueGroup
    CreateFinished: true
    CreateTxId: 281474976715679
    CreateStep: 1761502038247
    ParentPathId: 2
    PathState: EPathStateNoChanges
    Owner: "root@builtin"
    ACL: ""
    EffectiveACL: ""
    PathVersion: 3
    PathSubType: EPathSubTypeEmpty
    Version {
      GeneralVersion: 3
      ACLVersion: 0
      EffectiveACLVersion: 0
      UserAttrsVersion: 1
      ChildrenVersion: 0
      PQVersion: 2
    }
    BalancerTabletID: 72075186224037894
  }
  PersQueueGroup {
    Name: "rt3.dc1--topic1"
    PathId: 9
    TotalGroupCount: 15
    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
    }
    Partitions {
      PartitionId: 2
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 3
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 4
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 5
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 6
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 7
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 8
      TabletId: 72075186224037892
      Status: Active
    }
    Partitions {
      PartitionId: 9
      TabletId: 72075186224037893
      Status: Active
    }
    Partitions {
      PartitionId: 10
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 11
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 12
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 13
      TabletId: 72075186224037895
      Status: Active
    }
    Partitions {
      PartitionId: 14
      TabletId: 72075186224037895
      Status: Active
    }
    AlterVersion: 2
    BalancerTabletID: 72075186224037894
    NextPartitionId: 15
  }
  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: 8
    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: 15
    PQPartitionsLimit: 1000000
  }
}
Path: "/Root/PQ/rt3.dc1--topic1"
 name rt3.dc1--topic1 version2
2025-10-26T18:07:20.884095Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:20.884133Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 3
2025-10-26T18:07:20.884627Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-26T18:07:20.884831Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 3 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:60696
2025-10-26T18:07:20.884870Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=3 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:20.884883Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:20.886901Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId:  describe result for acl check
2025-10-26T18:07:20.887096Z node 11 :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:20.887111Z node 11 :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:20.887128Z node 11 :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:20.887155Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:20.890714Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:20.905976Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:20.916895Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:20.916957Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=0
2025-10-26T18:07:20.916982Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593656600055177:4361] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:20.917021Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 3 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:20.919192Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:20.920929Z node 11 :PERSQUEUE INFO: new Cookie source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 generated for partition 4 topic 'rt3.dc1--topic1' owner source
2025-10-26T18:07:20.924085Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 3 partition: 4 MaxSeqNo: 5 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0
request: { write_request { sequence_numbers: 6 created_at_ms: 1761502040925 sent_at_ms: 1761502040925 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-26T18:07:20.925930Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:20.926295Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:20.926689Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.004205Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 7 created_at_ms: 1761502041004 sent_at_ms: 1761502041004 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-26T18:07:21.005575Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.005900Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.008076Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.019401Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 8 created_at_ms: 1761502041020 sent_at_ms: 1761502041020 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-26T18:07:21.021523Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.021885Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.022863Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.030620Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 9 created_at_ms: 1761502041031 sent_at_ms: 1761502041031 message_sizes: 16 blocks_offsets: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_uncompressed_sizes: 16 blocks_headers: "\000" blocks_data: "valuevaluevalue2" } }
2025-10-26T18:07:21.032061Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.032368Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.032799Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.060596Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.061638Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read done: success: 0 data: 
1 0 
2025-10-26T18:07:21.061662Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 grpc read failed
2025-10-26T18:07:21.061887Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0
2025-10-26T18:07:21.061922Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 3 sessionId: source|a9427ca-3f17af62-b1f2d68f-f4bd84d6_0 is DEAD
2025-10-26T18:07:21.062444Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.066049Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.066087Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 4
2025-10-26T18:07:21.066715Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-26T18:07:21.066923Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 4 topic: "topic1" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:60696
2025-10-26T18:07:21.066946Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=4 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.066959Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.069382Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId:  describe result for acl check
2025-10-26T18:07:21.069590Z node 11 :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:21.069608Z node 11 :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:21.069624Z node 11 :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:21.069654Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.073186Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.082488Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.092916Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.092997Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=0
2025-10-26T18:07:21.093027Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022548:4337] (SourceId=source, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.093068Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 4 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:21.095284Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:21.095944Z node 11 :PERSQUEUE INFO: new Cookie source|4395f458-87c7d8a4-81d90877-3eeb9659_0 generated for partition 4 topic 'rt3.dc1--topic1' owner source
2025-10-26T18:07:21.096554Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 4 partition: 4 MaxSeqNo: 9 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0
request: { write_request { sequence_numbers: 10 sequence_numbers: 11 sequence_numbers: 12 sequence_numbers: 13 sequence_numbers: 14 created_at_ms: 1761502041097 created_at_ms: 1761502041097 created_at_ms: 1761502041097 created_at_ms: 1761502041097 created_at_ms: 1761502041097 sent_at_ms: 1761502041097 sent_at_ms: 1761502041097 sent_at_ms: 1761502041097 sent_at_ms: 1761502041097 sent_at_ms: 1761502041097 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-26T18:07:21.098523Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.098969Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.099500Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.106959Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 15 sequence_numbers: 16 sequence_numbers: 17 sequence_numbers: 18 sequence_numbers: 19 created_at_ms: 1761502041107 created_at_ms: 1761502041107 created_at_ms: 1761502041108 created_at_ms: 1761502041108 created_at_ms: 1761502041108 sent_at_ms: 1761502041107 sent_at_ms: 1761502041107 sent_at_ms: 1761502041108 sent_at_ms: 1761502041108 sent_at_ms: 1761502041108 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-26T18:07:21.108831Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.109228Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.109768Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.118558Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 20 sequence_numbers: 21 sequence_numbers: 22 sequence_numbers: 23 sequence_numbers: 24 created_at_ms: 1761502041119 created_at_ms: 1761502041119 created_at_ms: 1761502041119 created_at_ms: 1761502041119 created_at_ms: 1761502041119 sent_at_ms: 1761502041119 sent_at_ms: 1761502041119 sent_at_ms: 1761502041119 sent_at_ms: 1761502041119 sent_at_ms: 1761502041119 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-26T18:07:21.120823Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.121244Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.122041Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.129028Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
request: { write_request { sequence_numbers: 25 sequence_numbers: 26 sequence_numbers: 27 sequence_numbers: 28 sequence_numbers: 29 created_at_ms: 1761502041129 created_at_ms: 1761502041129 created_at_ms: 1761502041129 created_at_ms: 1761502041129 created_at_ms: 1761502041129 sent_at_ms: 1761502041129 sent_at_ms: 1761502041129 sent_at_ms: 1761502041129 sent_at_ms: 1761502041129 sent_at_ms: 1761502041129 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 message_sizes: 1 blocks_offsets: 0 blocks_offsets: 1 blocks_offsets: 2 blocks_offsets: 3 blocks_offsets: 4 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_part_numbers: 0 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_message_counts: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_uncompressed_sizes: 1 blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_headers: "\000" blocks_data: "1" blocks_data: "2" blocks_data: "3" blocks_data: "4" blocks_data: "5" } }
2025-10-26T18:07:21.134150Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read done: success: 1 data:  write_request[data omitted]
2025-10-26T18:07:21.134648Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::NPQ::TEvPartitionWriter::TEvWriteRequest
2025-10-26T18:07:21.135236Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
2025-10-26T18:07:21.224147Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NKikimr::TEvPersQueue::TEvResponse
1 0 
2025-10-26T18:07:21.225223Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.225248Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 grpc read failed
2025-10-26T18:07:21.225449Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0
2025-10-26T18:07:21.225472Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 4 sessionId: source|4395f458-87c7d8a4-81d90877-3eeb9659_0 is DEAD
2025-10-26T18:07:21.226034Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.230054Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.230092Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 5
2025-10-26T18:07:21.230605Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 5 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } }
2025-10-26T18:07:21.230824Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 5 topic: "topic2" message_group_id: "source" session_meta { key: "key" value: "value" } from ipv6:[::1]:60696
2025-10-26T18:07:21.230857Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=5 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic2 durationSec=0
2025-10-26T18:07:21.230872Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.232565Z node 11 :PQ_WRITE_PROXY INFO: session v1 error cookie: 5 reason: no path 'Root/PQ/rt3.dc1--topic2', Marker# PQ15 sessionId: 
2025-10-26T18:07:21.232933Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 5 sessionId:  is DEAD
{ status: SCHEME_ERROR issues { message: "no path \'Root/PQ/rt3.dc1--topic2\', Marker# PQ15" issue_code: 500017 severity: 1 } }
2025-10-26T18:07:21.235006Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.235042Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 6
2025-10-26T18:07:21.235429Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 6 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 2 }
2025-10-26T18:07:21.235593Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 6 topic: "topic1" message_group_id: "sid1" partition_group_id: 2 from ipv6:[::1]:60696
2025-10-26T18:07:21.235622Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=6 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.235635Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.237615Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId:  describe result for acl check
2025-10-26T18:07:21.237839Z node 11 :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:21.237861Z node 11 :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:21.237877Z node 11 :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:21.237902Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) StartKqpSession
2025-10-26T18:07:21.241476Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) Select from the table
2025-10-26T18:07:21.251132Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) Update the table
2025-10-26T18:07:21.272986Z node 12 :PERSQUEUE INFO: new Cookie sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-26T18:07:21.270639Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.270720Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:21.270747Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022609:4349] (SourceId=sid1, PreferedPartition=1) Start idle
2025-10-26T18:07:21.270795Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 6 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:21.272433Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
Init result: { 2025-10-26T18:07:21.274507Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 6 partition: 1 MaxSeqNo: 0 sessionId: sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0
status: SUCCESS init_response { session_id: "sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.277104Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 6 sessionId: sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.277132Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0 grpc read failed
2025-10-26T18:07:21.277167Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0 grpc closed
2025-10-26T18:07:21.277192Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 6 sessionId: sid1|e8efa503-f2c007dc-25800468-cb6aaa8a_0 is DEAD
2025-10-26T18:07:21.278264Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.278379Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.278403Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 7
2025-10-26T18:07:21.279340Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 7 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" }
2025-10-26T18:07:21.279493Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 7 topic: "topic1" message_group_id: "sid1" from ipv6:[::1]:60696
2025-10-26T18:07:21.279515Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=7 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.279531Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.281651Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId:  describe result for acl check
2025-10-26T18:07:21.281855Z node 11 :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:21.281871Z node 11 :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:21.281889Z node 11 :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:21.281924Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.285759Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.294392Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.305641Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.305732Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=0
2025-10-26T18:07:21.305766Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022642:4317] (SourceId=sid1, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.305804Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 7 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:21.306983Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:21.307350Z node 12 :PERSQUEUE INFO: new Cookie sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid1
2025-10-26T18:07:21.308529Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 7 partition: 1 MaxSeqNo: 0 sessionId: sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0
Init result: { status: SUCCESS init_response { session_id: "sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.312436Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 7 sessionId: sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.312460Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId: sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0 grpc read failed
2025-10-26T18:07:21.312951Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 7 sessionId: sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0
2025-10-26T18:07:21.312980Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 7 sessionId: sid1|9d9973d4-eca6c243-ba6eb87b-6d3d8ca0_0 is DEAD
2025-10-26T18:07:21.313540Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.314475Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.314518Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 8
2025-10-26T18:07:21.317995Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 8 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-26T18:07:21.318184Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 8 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:60696
2025-10-26T18:07:21.318220Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=8 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.318235Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.320242Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId:  describe result for acl check
2025-10-26T18:07:21.320458Z node 11 :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:21.320482Z node 11 :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:21.320498Z node 11 :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:21.320522Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.324330Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.336783Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.338896Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022685:4359] connected; active server actors: 1
2025-10-26T18:07:21.339531Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sidx
2025-10-26T18:07:21.339569Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.340310Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022685:4359] disconnected; active server actors: 1
2025-10-26T18:07:21.340344Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022685:4359] disconnected no session
2025-10-26T18:07:21.352510Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.352573Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-26T18:07:21.352599Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022668:4359] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.352641Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 8 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:21.353871Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:21.354058Z node 11 :PERSQUEUE INFO: new Cookie sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sidx
2025-10-26T18:07:21.354692Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 8 partition: 5 MaxSeqNo: 0 sessionId: sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0
Init result: { status: SUCCESS init_response { session_id: "sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.357642Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 8 sessionId: sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.357702Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId: sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0 grpc read failed
2025-10-26T18:07:21.357736Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId: sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0 grpc closed
2025-10-26T18:07:21.357771Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 8 sessionId: sidx|4a36d140-67b1cd70-85b64bdb-143bbcc7_0 is DEAD
2025-10-26T18:07:21.359056Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.359362Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.359405Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 9
2025-10-26T18:07:21.359816Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 9 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sidx" }
2025-10-26T18:07:21.359986Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 9 topic: "topic1" message_group_id: "sidx" from ipv6:[::1]:60696
2025-10-26T18:07:21.360011Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=9 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.360027Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.362087Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId:  describe result for acl check
2025-10-26T18:07:21.362274Z node 11 :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:21.362290Z node 11 :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:21.362307Z node 11 :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:21.362332Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.367068Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.378511Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.390514Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.390577Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=0
2025-10-26T18:07:21.390604Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022698:4330] (SourceId=sidx, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.390643Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 9 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:21.392029Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:21.392284Z node 11 :PERSQUEUE INFO: new Cookie sidx|f94b863e-31f14634-6148b807-76d2e62_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sidx
2025-10-26T18:07:21.392872Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 9 partition: 5 MaxSeqNo: 0 sessionId: sidx|f94b863e-31f14634-6148b807-76d2e62_0
Init result: { status: SUCCESS init_response { session_id: "sidx|f94b863e-31f14634-6148b807-76d2e62_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.397625Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 9 sessionId: sidx|f94b863e-31f14634-6148b807-76d2e62_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.397657Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: sidx|f94b863e-31f14634-6148b807-76d2e62_0 grpc read failed
2025-10-26T18:07:21.397710Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: sidx|f94b863e-31f14634-6148b807-76d2e62_0 grpc closed
2025-10-26T18:07:21.397734Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 9 sessionId: sidx|f94b863e-31f14634-6148b807-76d2e62_0 is DEAD
2025-10-26T18:07:21.398751Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.398878Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.398902Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 10
2025-10-26T18:07:21.399712Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 10 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid1" partition_group_id: 3 }
2025-10-26T18:07:21.399862Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 10 topic: "topic1" message_group_id: "sid1" partition_group_id: 3 from ipv6:[::1]:60696
2025-10-26T18:07:21.399886Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=10 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.399900Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.402282Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId:  describe result for acl check
2025-10-26T18:07:21.402484Z node 11 :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:21.402502Z node 11 :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:21.402519Z node 11 :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:21.402545Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022728:4301] (SourceId=sid1, PreferedPartition=2) StartKqpSession
2025-10-26T18:07:21.407632Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022728:4301] (SourceId=sid1, PreferedPartition=2) Select from the table
2025-10-26T18:07:21.421004Z node 11 :PQ_PARTITION_CHOOSER INFO: TPartitionChooser [11:7565593660895022728:4301] (SourceId=sid1, PreferedPartition=2) ReplyError: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all.
2025-10-26T18:07:21.421180Z node 11 :PQ_WRITE_PROXY INFO: session v1 error cookie: 10 reason: MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all. sessionId: 
2025-10-26T18:07:21.421600Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 10 sessionId:  is DEAD
Init result: { status: BAD_REQUEST issues { message: "MessageGroupId sid1 is already bound to PartitionGroupId 2, but client provided 3. MessageGroupId->PartitionGroupId binding cannot be changed, either use another MessageGroupId, specify PartitionGroupId 2, or do not specify PartitionGroupId at all." issue_code: 500003 severity: 1 } }
2025-10-26T18:07:21.426660Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.426691Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 11
2025-10-26T18:07:21.427168Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 11 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_0" }
2025-10-26T18:07:21.427316Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 11 topic: "topic1" message_group_id: "sid_rand_0" from ipv6:[::1]:60696
2025-10-26T18:07:21.427334Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=11 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.427345Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.429309Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 11 sessionId:  describe result for acl check
2025-10-26T18:07:21.429506Z node 11 :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:21.429522Z node 11 :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:21.429537Z node 11 :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:21.429563Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.433021Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.446071Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.446792Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022771:4348] connected; active server actors: 1
2025-10-26T18:07:21.447330Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_0
2025-10-26T18:07:21.447368Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.447924Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022771:4348] disconnected; active server actors: 1
2025-10-26T18:07:21.447976Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022771:4348] disconnected no session
2025-10-26T18:07:21.460241Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.460324Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-26T18:07:21.460356Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022756:4348] (SourceId=sid_rand_0, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.460407Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 11 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-26T18:07:21.461609Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:21.461904Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_0
2025-10-26T18:07:21.462865Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 11 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.467390Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 11 sessionId: sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.467422Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 11 sessionId: sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0 grpc read failed
2025-10-26T18:07:21.467796Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 11 sessionId: sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0
2025-10-26T18:07:21.467839Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 11 sessionId: sid_rand_0|18602b8a-b2410f56-e2b4d26d-8a5ff413_0 is DEAD
2025-10-26T18:07:21.468295Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.470301Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.470331Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 12
2025-10-26T18:07:21.470841Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 12 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_1" }
2025-10-26T18:07:21.470997Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 12 topic: "topic1" message_group_id: "sid_rand_1" from ipv6:[::1]:60696
2025-10-26T18:07:21.471017Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=12 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.471032Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.473064Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 12 sessionId:  describe result for acl check
2025-10-26T18:07:21.473240Z node 11 :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:21.473255Z node 11 :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:21.473272Z node 11 :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:21.473294Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.476802Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.484938Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.485654Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022798:4350] connected; active server actors: 1
2025-10-26T18:07:21.486070Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_1
2025-10-26T18:07:21.486112Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.486673Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022798:4350] disconnected; active server actors: 1
2025-10-26T18:07:21.486710Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022798:4350] disconnected no session
2025-10-26T18:07:21.499779Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.499838Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-26T18:07:21.499864Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022783:4350] (SourceId=sid_rand_1, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.499901Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 12 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-26T18:07:21.502399Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:21.502697Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_1
2025-10-26T18:07:21.504083Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 12 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.507753Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 12 sessionId: sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.507793Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 12 sessionId: sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0 grpc read failed
2025-10-26T18:07:21.507826Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 12 sessionId: sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0 grpc closed
2025-10-26T18:07:21.507846Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 12 sessionId: sid_rand_1|348f92b1-bd01743a-e1d491bf-8f4a2b41_0 is DEAD
2025-10-26T18:07:21.508778Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.508875Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.508894Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 13
2025-10-26T18:07:21.509763Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 13 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_2" }
2025-10-26T18:07:21.509908Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 13 topic: "topic1" message_group_id: "sid_rand_2" from ipv6:[::1]:60696
2025-10-26T18:07:21.509946Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=13 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.509959Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.512263Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 13 sessionId:  describe result for acl check
2025-10-26T18:07:21.512456Z node 11 :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:21.512471Z node 11 :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:21.512487Z node 11 :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:21.512513Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.516122Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.524339Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.525019Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022829:4322] connected; active server actors: 1
2025-10-26T18:07:21.526318Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022829:4322] disconnected; active server actors: 1
2025-10-26T18:07:21.526364Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022829:4322] disconnected no session
2025-10-26T18:07:21.525566Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_2
2025-10-26T18:07:21.525596Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.539962Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.540044Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-26T18:07:21.540076Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022811:4322] (SourceId=sid_rand_2, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.540115Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 13 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-26T18:07:21.541284Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:21.541865Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_2
Init result: { status: SUCCESS init_response { session_id: "sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.543660Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 13 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0
2025-10-26T18:07:21.545821Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 13 sessionId: sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.545851Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 13 sessionId: sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0 grpc read failed
2025-10-26T18:07:21.546267Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.546307Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 14
2025-10-26T18:07:21.546324Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 13 sessionId: sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0
2025-10-26T18:07:21.546352Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 13 sessionId: sid_rand_2|fa079dc8-9661fe1a-c7bce0d2-4ee3913c_0 is DEAD
2025-10-26T18:07:21.546774Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 14 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_3" }
2025-10-26T18:07:21.546881Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.546927Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 14 topic: "topic1" message_group_id: "sid_rand_3" from ipv6:[::1]:60696
2025-10-26T18:07:21.546956Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=14 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.546971Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.549011Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 14 sessionId:  describe result for acl check
2025-10-26T18:07:21.549205Z node 11 :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:21.549220Z node 11 :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:21.549236Z node 11 :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:21.549262Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.550028Z node 11 :FLAT_TX_SCHEMESHARD WARN: Cannot get console configs
2025-10-26T18:07:21.550050Z node 11 :IMPORT WARN: Table profiles were not loaded
2025-10-26T18:07:21.553265Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.560221Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.561110Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022856:4346] connected; active server actors: 1
2025-10-26T18:07:21.561626Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_3
2025-10-26T18:07:21.561663Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.562326Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022856:4346] disconnected; active server actors: 1
2025-10-26T18:07:21.562364Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022856:4346] disconnected no session
2025-10-26T18:07:21.585330Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.585395Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-26T18:07:21.585425Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022841:4346] (SourceId=sid_rand_3, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.585463Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 14 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-26T18:07:21.587481Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:21.587766Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_3
2025-10-26T18:07:21.588326Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 14 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.595369Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 14 sessionId: sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.595403Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 14 sessionId: sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0 grpc read failed
2025-10-26T18:07:21.595436Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 14 sessionId: sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0 grpc closed
2025-10-26T18:07:21.595437Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.595459Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 14 sessionId: sid_rand_3|6e323cfd-2e953db-4c9d514-c5792437_0 is DEAD
2025-10-26T18:07:21.595463Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 15
2025-10-26T18:07:21.595851Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 15 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_4" }
2025-10-26T18:07:21.596001Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 15 topic: "topic1" message_group_id: "sid_rand_4" from ipv6:[::1]:60696
2025-10-26T18:07:21.596023Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=15 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.596040Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.596614Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.597947Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 15 sessionId:  describe result for acl check
2025-10-26T18:07:21.598115Z node 11 :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:21.598131Z node 11 :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:21.598148Z node 11 :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:21.598172Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.601389Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.611502Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.612237Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022889:4337] connected; active server actors: 1
2025-10-26T18:07:21.613000Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_4
2025-10-26T18:07:21.613031Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.613887Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022889:4337] disconnected; active server actors: 1
2025-10-26T18:07:21.613936Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022889:4337] disconnected no session
2025-10-26T18:07:21.635235Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.635308Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-26T18:07:21.635337Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022874:4337] (SourceId=sid_rand_4, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.635377Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 15 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-26T18:07:21.636459Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:21.636746Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_4
2025-10-26T18:07:21.637241Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 15 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.640766Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 15 sessionId: sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.640795Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 15 sessionId: sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0 grpc read failed
2025-10-26T18:07:21.640823Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 15 sessionId: sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0 grpc closed
2025-10-26T18:07:21.640847Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 15 sessionId: sid_rand_4|8a9ade35-71dfe208-f51334cc-def47149_0 is DEAD
2025-10-26T18:07:21.640980Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.641011Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 16
2025-10-26T18:07:21.641717Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 16 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_5" }
2025-10-26T18:07:21.641881Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 16 topic: "topic1" message_group_id: "sid_rand_5" from ipv6:[::1]:60696
2025-10-26T18:07:21.641902Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=16 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.641930Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.642035Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.644022Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 16 sessionId:  describe result for acl check
2025-10-26T18:07:21.644226Z node 11 :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:21.644252Z node 11 :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:21.644267Z node 11 :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:21.644290Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.647873Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.658519Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.659229Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022920:4350] connected; active server actors: 1
2025-10-26T18:07:21.659817Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_5
2025-10-26T18:07:21.659849Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.660602Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022920:4350] disconnected; active server actors: 1
2025-10-26T18:07:21.660636Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022920:4350] disconnected no session
2025-10-26T18:07:21.677710Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.677774Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-26T18:07:21.677801Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022902:4350] (SourceId=sid_rand_5, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.677841Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 16 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-26T18:07:21.679083Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:21.679361Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_5
2025-10-26T18:07:21.679899Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 16 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.686805Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 16 sessionId: sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.686841Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 16 sessionId: sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0 grpc read failed
2025-10-26T18:07:21.686873Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 16 sessionId: sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0 grpc closed
2025-10-26T18:07:21.686898Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 16 sessionId: sid_rand_5|a07eafe4-9c70967-7d8d3119-543ad214_0 is DEAD
2025-10-26T18:07:21.687891Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.687989Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.688010Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 17
2025-10-26T18:07:21.688953Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 17 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_6" }
2025-10-26T18:07:21.689117Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 17 topic: "topic1" message_group_id: "sid_rand_6" from ipv6:[::1]:60696
2025-10-26T18:07:21.689139Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=17 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.689153Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.691277Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 17 sessionId:  describe result for acl check
2025-10-26T18:07:21.691461Z node 11 :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:21.691477Z node 11 :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:21.691493Z node 11 :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:21.691518Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.694939Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.708278Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.709534Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022948:4370] connected; active server actors: 1
2025-10-26T18:07:21.712452Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_6
2025-10-26T18:07:21.712497Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.713413Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022948:4370] disconnected; active server actors: 1
2025-10-26T18:07:21.713468Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022948:4370] disconnected no session
2025-10-26T18:07:21.724702Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.724774Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-26T18:07:21.724795Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022933:4370] (SourceId=sid_rand_6, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.724827Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 17 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-26T18:07:21.725409Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:21.725559Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_6
2025-10-26T18:07:21.726135Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 17 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.728090Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 17 sessionId: sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.728122Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 17 sessionId: sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0 grpc read failed
2025-10-26T18:07:21.728152Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 17 sessionId: sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0 grpc closed
2025-10-26T18:07:21.728174Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 17 sessionId: sid_rand_6|6b27507f-74f4fac7-e1f7c17c-b2af27fe_0 is DEAD
2025-10-26T18:07:21.729115Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.734024Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.734054Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 18
2025-10-26T18:07:21.734397Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 18 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_7" }
2025-10-26T18:07:21.734503Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 18 topic: "topic1" message_group_id: "sid_rand_7" from ipv6:[::1]:60696
2025-10-26T18:07:21.734522Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=18 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.734533Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.735942Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 18 sessionId:  describe result for acl check
2025-10-26T18:07:21.736078Z node 11 :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:21.736093Z node 11 :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:21.736106Z node 11 :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:21.736122Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.738479Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.746598Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.747284Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022978:4348] connected; active server actors: 1
2025-10-26T18:07:21.747670Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_7
2025-10-26T18:07:21.747702Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.748158Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022978:4348] disconnected; active server actors: 1
2025-10-26T18:07:21.748198Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895022978:4348] disconnected no session
2025-10-26T18:07:21.760057Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.760118Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-26T18:07:21.760144Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022961:4348] (SourceId=sid_rand_7, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.760190Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 18 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-26T18:07:21.761300Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:21.761540Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_7
2025-10-26T18:07:21.762128Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 18 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.766313Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 18 sessionId: sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.766349Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 18 sessionId: sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0 grpc read failed
2025-10-26T18:07:21.766389Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 18 sessionId: sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0 grpc closed
2025-10-26T18:07:21.766411Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 18 sessionId: sid_rand_7|6ca8fbb-e3805f52-4caa4cf1-a3ce6071_0 is DEAD
2025-10-26T18:07:21.767674Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.767785Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.767815Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 19
2025-10-26T18:07:21.768564Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 19 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_8" }
2025-10-26T18:07:21.768733Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 19 topic: "topic1" message_group_id: "sid_rand_8" from ipv6:[::1]:60696
2025-10-26T18:07:21.768761Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=19 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.768775Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.770877Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 19 sessionId:  describe result for acl check
2025-10-26T18:07:21.771075Z node 11 :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:21.771100Z node 11 :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:21.771117Z node 11 :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:21.771143Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.857530Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.868177Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.871425Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023018:4352] connected; active server actors: 1
2025-10-26T18:07:21.873967Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_8
2025-10-26T18:07:21.874004Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.874865Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023018:4352] disconnected; active server actors: 1
2025-10-26T18:07:21.874904Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023018:4352] disconnected no session
2025-10-26T18:07:21.885418Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.885478Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:21.885504Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895022993:4352] (SourceId=sid_rand_8, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.885542Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 19 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:21.886388Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:21.886597Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_8
2025-10-26T18:07:21.887109Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 19 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.892258Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 19 sessionId: sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.892292Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 19 sessionId: sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0 grpc read failed
2025-10-26T18:07:21.892324Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 19 sessionId: sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0 grpc closed
2025-10-26T18:07:21.892347Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 19 sessionId: sid_rand_8|e917b8d1-dffa52f1-6be8de6c-408ec9bf_0 is DEAD
2025-10-26T18:07:21.893175Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.893201Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 20
2025-10-26T18:07:21.893480Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.893610Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 20 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_9" }
2025-10-26T18:07:21.893793Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 20 topic: "topic1" message_group_id: "sid_rand_9" from ipv6:[::1]:60696
2025-10-26T18:07:21.893814Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=20 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.893829Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.896386Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 20 sessionId:  describe result for acl check
2025-10-26T18:07:21.896577Z node 11 :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:21.896599Z node 11 :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:21.896616Z node 11 :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:21.896641Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.900065Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.912894Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.913715Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023057:4343] connected; active server actors: 1
2025-10-26T18:07:21.915435Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_9
2025-10-26T18:07:21.915473Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.916149Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023057:4343] disconnected; active server actors: 1
2025-10-26T18:07:21.916185Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023057:4343] disconnected no session
2025-10-26T18:07:21.933568Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:21.933631Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:21.933658Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023040:4343] (SourceId=sid_rand_9, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:21.933707Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 20 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:21.938326Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:21.941946Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_9
2025-10-26T18:07:21.943092Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 20 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:21.945330Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 20 sessionId: sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0 grpc read done: success: 0 data: 
2025-10-26T18:07:21.945356Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 20 sessionId: sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0 grpc read failed
2025-10-26T18:07:21.945803Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 20 sessionId: sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0
2025-10-26T18:07:21.945831Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 20 sessionId: sid_rand_9|2f082369-9a088a3b-273e19f6-17c4cea7_0 is DEAD
2025-10-26T18:07:21.946291Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:21.947276Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:21.947307Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 21
2025-10-26T18:07:21.947887Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 21 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_10" }
2025-10-26T18:07:21.948040Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 21 topic: "topic1" message_group_id: "sid_rand_10" from ipv6:[::1]:60696
2025-10-26T18:07:21.948063Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=21 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:21.948078Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:21.949988Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 21 sessionId:  describe result for acl check
2025-10-26T18:07:21.950176Z node 11 :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:21.950191Z node 11 :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:21.950205Z node 11 :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:21.950227Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:21.953431Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:21.964358Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:21.966420Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023090:4337] connected; active server actors: 1
2025-10-26T18:07:21.967048Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_10
2025-10-26T18:07:21.967081Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:21.974049Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023090:4337] disconnected; active server actors: 1
2025-10-26T18:07:21.974100Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593660895023090:4337] disconnected no session
2025-10-26T18:07:22.002836Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.002906Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:22.002932Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593660895023075:4337] (SourceId=sid_rand_10, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.002970Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 21 sessionId:  partition: 1 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.004530Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.005974Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 21 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0
2025-10-26T18:07:22.008141Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 21 sessionId: sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.008160Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 21 sessionId: sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0 grpc read failed
2025-10-26T18:07:22.008204Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 21 sessionId: sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0
2025-10-26T18:07:22.008227Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 21 sessionId: sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0 is DEAD
2025-10-26T18:07:22.008635Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.004904Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_10|59469bae-a9d3be68-19e66f48-950475ba_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_10
2025-10-26T18:07:22.009454Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.009484Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 22
2025-10-26T18:07:22.009844Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 22 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_11" }
2025-10-26T18:07:22.010009Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 22 topic: "topic1" message_group_id: "sid_rand_11" from ipv6:[::1]:60696
2025-10-26T18:07:22.010029Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=22 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.010042Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.011889Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 22 sessionId:  describe result for acl check
2025-10-26T18:07:22.012054Z node 11 :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:22.012069Z node 11 :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:22.012084Z node 11 :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:22.012106Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.015273Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.025334Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.026485Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_11
2025-10-26T18:07:22.026512Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.025961Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990426:4317] connected; active server actors: 1
2025-10-26T18:07:22.027129Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990426:4317] disconnected; active server actors: 1
2025-10-26T18:07:22.027156Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990426:4317] disconnected no session
2025-10-26T18:07:22.038453Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.038512Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-26T18:07:22.038536Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990408:4317] (SourceId=sid_rand_11, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.038570Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 22 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-26T18:07:22.039665Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.039877Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_11
Init result: { status: SUCCESS init_response { session_id: "sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.040345Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 22 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0
2025-10-26T18:07:22.043206Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 22 sessionId: sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.043232Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 22 sessionId: sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0 grpc read failed
2025-10-26T18:07:22.043258Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 22 sessionId: sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0 grpc closed
2025-10-26T18:07:22.043281Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 22 sessionId: sid_rand_11|4285c216-99abb8cb-ea5d010a-2048f6a_0 is DEAD
2025-10-26T18:07:22.044141Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.044233Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.044255Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 23
2025-10-26T18:07:22.045177Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 23 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_12" }
2025-10-26T18:07:22.045335Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 23 topic: "topic1" message_group_id: "sid_rand_12" from ipv6:[::1]:60696
2025-10-26T18:07:22.045356Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=23 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.045367Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.047420Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 23 sessionId:  describe result for acl check
2025-10-26T18:07:22.047594Z node 11 :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:22.047611Z node 11 :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:22.047625Z node 11 :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:22.047648Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.050876Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.060001Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.060731Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990454:4350] connected; active server actors: 1
2025-10-26T18:07:22.061536Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990454:4350] disconnected; active server actors: 1
2025-10-26T18:07:22.061555Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990454:4350] disconnected no session
2025-10-26T18:07:22.061082Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_12
2025-10-26T18:07:22.061108Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.079578Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.079642Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-26T18:07:22.079669Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990439:4350] (SourceId=sid_rand_12, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.079707Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 23 sessionId:  partition: 9 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.081471Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.081706Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_12
2025-10-26T18:07:22.082235Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 23 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0
2025-10-26T18:07:22.085136Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 23 sessionId: sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.085166Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 23 sessionId: sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0 grpc read failed
2025-10-26T18:07:22.085195Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 23 sessionId: sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0 grpc closed
2025-10-26T18:07:22.085221Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 23 sessionId: sid_rand_12|c3e8835-76ac6df5-ab47065d-68eaaf54_0 is DEAD
2025-10-26T18:07:22.086393Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.086494Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.086517Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 24
2025-10-26T18:07:22.087110Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 24 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_13" }
2025-10-26T18:07:22.087263Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 24 topic: "topic1" message_group_id: "sid_rand_13" from ipv6:[::1]:60696
2025-10-26T18:07:22.087284Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=24 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.087298Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.089254Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 24 sessionId:  describe result for acl check
2025-10-26T18:07:22.089438Z node 11 :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:22.089455Z node 11 :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:22.089470Z node 11 :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:22.089494Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.092786Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.102998Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.104316Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_13
2025-10-26T18:07:22.104349Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.103817Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990484:4370] connected; active server actors: 1
2025-10-26T18:07:22.104802Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990484:4370] disconnected; active server actors: 1
2025-10-26T18:07:22.104833Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990484:4370] disconnected no session
2025-10-26T18:07:22.113830Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.113889Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-26T18:07:22.113910Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990469:4370] (SourceId=sid_rand_13, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.113954Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 24 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-26T18:07:22.115239Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.115371Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_13
2025-10-26T18:07:22.115969Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 24 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.118594Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 24 sessionId: sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.118624Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 24 sessionId: sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0 grpc read failed
2025-10-26T18:07:22.118649Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 24 sessionId: sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0 grpc closed
2025-10-26T18:07:22.118670Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 24 sessionId: sid_rand_13|6a57c8e4-9eb25179-979e8231-63b27111_0 is DEAD
2025-10-26T18:07:22.119720Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.120411Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.120443Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 25
2025-10-26T18:07:22.120870Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 25 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_14" }
2025-10-26T18:07:22.121017Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 25 topic: "topic1" message_group_id: "sid_rand_14" from ipv6:[::1]:60696
2025-10-26T18:07:22.121037Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=25 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.121049Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.123056Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 25 sessionId:  describe result for acl check
2025-10-26T18:07:22.123236Z node 11 :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:22.123253Z node 11 :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:22.123271Z node 11 :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:22.123296Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.126673Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.133488Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.134813Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_14
2025-10-26T18:07:22.134841Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.134394Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990512:4362] connected; active server actors: 1
2025-10-26T18:07:22.135375Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990512:4362] disconnected; active server actors: 1
2025-10-26T18:07:22.135401Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990512:4362] disconnected no session
2025-10-26T18:07:22.147574Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.147632Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-26T18:07:22.147657Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990497:4362] (SourceId=sid_rand_14, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.147692Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 25 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-26T18:07:22.148964Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.149236Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_14
2025-10-26T18:07:22.149788Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 25 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.152316Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 25 sessionId: sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.152343Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 25 sessionId: sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0 grpc read failed
2025-10-26T18:07:22.152371Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 25 sessionId: sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0 grpc closed
2025-10-26T18:07:22.152391Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 25 sessionId: sid_rand_14|9f8c4ee3-10c1d696-362800f1-1a3ffe_0 is DEAD
2025-10-26T18:07:22.153406Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.153998Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.154026Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 26
2025-10-26T18:07:22.154370Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 26 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_15" }
2025-10-26T18:07:22.154506Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 26 topic: "topic1" message_group_id: "sid_rand_15" from ipv6:[::1]:60696
2025-10-26T18:07:22.154525Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=26 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.154539Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.156448Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 26 sessionId:  describe result for acl check
2025-10-26T18:07:22.156620Z node 11 :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:22.156634Z node 11 :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:22.156647Z node 11 :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:22.156672Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.160050Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.171167Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.172471Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_15
2025-10-26T18:07:22.172499Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.172075Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990543:4364] connected; active server actors: 1
2025-10-26T18:07:22.173023Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990543:4364] disconnected; active server actors: 1
2025-10-26T18:07:22.173048Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990543:4364] disconnected no session
2025-10-26T18:07:22.183846Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.183908Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-26T18:07:22.183934Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990525:4364] (SourceId=sid_rand_15, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.183966Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 26 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-26T18:07:22.184921Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.185071Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_15
2025-10-26T18:07:22.185573Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 26 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.189030Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 26 sessionId: sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.189060Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 26 sessionId: sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0 grpc read failed
2025-10-26T18:07:22.189087Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 26 sessionId: sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0 grpc closed
2025-10-26T18:07:22.189108Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 26 sessionId: sid_rand_15|5a2a57a7-99bc8207-468a8151-a3ac1fa7_0 is DEAD
2025-10-26T18:07:22.190268Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.190386Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.190413Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 27
2025-10-26T18:07:22.190997Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 27 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_16" }
2025-10-26T18:07:22.191163Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 27 topic: "topic1" message_group_id: "sid_rand_16" from ipv6:[::1]:60696
2025-10-26T18:07:22.191192Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=27 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.191204Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.193088Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 27 sessionId:  describe result for acl check
2025-10-26T18:07:22.193263Z node 11 :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:22.193286Z node 11 :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:22.193301Z node 11 :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:22.193325Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.196772Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.208797Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.215556Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_16
2025-10-26T18:07:22.215598Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.215006Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990571:4334] connected; active server actors: 1
2025-10-26T18:07:22.216292Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990571:4334] disconnected; active server actors: 1
2025-10-26T18:07:22.216333Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990571:4334] disconnected no session
2025-10-26T18:07:22.234842Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.234909Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-26T18:07:22.234934Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990556:4334] (SourceId=sid_rand_16, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.234970Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 27 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-26T18:07:22.235819Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.236085Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_16
2025-10-26T18:07:22.236551Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 27 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.238258Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 27 sessionId: sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.238281Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 27 sessionId: sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0 grpc read failed
2025-10-26T18:07:22.238630Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 27 sessionId: sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0
2025-10-26T18:07:22.238656Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 27 sessionId: sid_rand_16|67a6341b-24eb1887-fc0acfc1-4feb8a8b_0 is DEAD
2025-10-26T18:07:22.239025Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.239112Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.239135Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 28
2025-10-26T18:07:22.242893Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 28 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_17" }
2025-10-26T18:07:22.243055Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 28 topic: "topic1" message_group_id: "sid_rand_17" from ipv6:[::1]:60696
2025-10-26T18:07:22.243075Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=28 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.243104Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.245513Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 28 sessionId:  describe result for acl check
2025-10-26T18:07:22.245703Z node 11 :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:22.245719Z node 11 :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:22.245735Z node 11 :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:22.245758Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.249266Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.256088Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.257163Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_17
2025-10-26T18:07:22.257192Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.256516Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990601:4352] connected; active server actors: 1
2025-10-26T18:07:22.257679Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990601:4352] disconnected; active server actors: 1
2025-10-26T18:07:22.257725Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990601:4352] disconnected no session
2025-10-26T18:07:22.266530Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.266590Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:22.266614Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990586:4352] (SourceId=sid_rand_17, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.266648Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 28 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:22.267483Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.267673Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_17
2025-10-26T18:07:22.268108Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 28 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.272902Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 28 sessionId: sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.272930Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 28 sessionId: sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0 grpc read failed
2025-10-26T18:07:22.272957Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 28 sessionId: sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0 grpc closed
2025-10-26T18:07:22.272979Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 28 sessionId: sid_rand_17|dfa675e4-7e4c7998-572bd6eb-3e907e35_0 is DEAD
2025-10-26T18:07:22.273913Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.274023Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.274044Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 29
2025-10-26T18:07:22.278334Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 29 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_18" }
2025-10-26T18:07:22.278529Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 29 topic: "topic1" message_group_id: "sid_rand_18" from ipv6:[::1]:60696
2025-10-26T18:07:22.278561Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=29 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.278576Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.283088Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 29 sessionId:  describe result for acl check
2025-10-26T18:07:22.283313Z node 11 :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:22.283341Z node 11 :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:22.283357Z node 11 :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:22.283390Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.286679Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.300537Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990634:4373] connected; active server actors: 1
2025-10-26T18:07:22.301624Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990634:4373] disconnected; active server actors: 1
2025-10-26T18:07:22.301665Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990634:4373] disconnected no session
2025-10-26T18:07:22.299802Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.300944Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_18
2025-10-26T18:07:22.300971Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.318872Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.318941Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:22.318965Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990616:4373] (SourceId=sid_rand_18, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.318999Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 29 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:22.320532Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.321050Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_18
2025-10-26T18:07:22.322609Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 29 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.326186Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 29 sessionId: sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.326213Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 29 sessionId: sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0 grpc read failed
2025-10-26T18:07:22.326241Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 29 sessionId: sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0 grpc closed
2025-10-26T18:07:22.326260Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 29 sessionId: sid_rand_18|c6a0fcc5-14aef028-38d855ce-457cfb38_0 is DEAD
2025-10-26T18:07:22.327133Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.327246Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.327269Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 30
2025-10-26T18:07:22.329579Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 30 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_19" }
2025-10-26T18:07:22.329890Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 30 topic: "topic1" message_group_id: "sid_rand_19" from ipv6:[::1]:60696
2025-10-26T18:07:22.329915Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=30 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.329943Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.332002Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 30 sessionId:  describe result for acl check
2025-10-26T18:07:22.332193Z node 11 :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:22.332209Z node 11 :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:22.332224Z node 11 :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:22.332246Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.335243Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.342257Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.342861Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990682:4365] connected; active server actors: 1
2025-10-26T18:07:22.343290Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_19
2025-10-26T18:07:22.343319Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.343935Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990682:4365] disconnected; active server actors: 1
2025-10-26T18:07:22.343976Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990682:4365] disconnected no session
2025-10-26T18:07:22.354497Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.354557Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:22.354583Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990664:4365] (SourceId=sid_rand_19, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.354621Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 30 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:22.356214Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.357845Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 30 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0
2025-10-26T18:07:22.356677Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_19
Init result: { status: SUCCESS init_response { session_id: "sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.361505Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 30 sessionId: sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.361539Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 30 sessionId: sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0 grpc read failed
2025-10-26T18:07:22.361568Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 30 sessionId: sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0 grpc closed
2025-10-26T18:07:22.361590Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 30 sessionId: sid_rand_19|fa859c9a-1738f576-748f2560-6687e747_0 is DEAD
2025-10-26T18:07:22.362604Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.362716Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.362738Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 31
2025-10-26T18:07:22.366301Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 31 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_20" }
2025-10-26T18:07:22.366482Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 31 topic: "topic1" message_group_id: "sid_rand_20" from ipv6:[::1]:60696
2025-10-26T18:07:22.366505Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=31 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.366520Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.371808Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 31 sessionId:  describe result for acl check
2025-10-26T18:07:22.372020Z node 11 :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:22.372036Z node 11 :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:22.372053Z node 11 :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:22.372081Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.378187Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.388433Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.389096Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990710:4362] connected; active server actors: 1
2025-10-26T18:07:22.389663Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_20
2025-10-26T18:07:22.389712Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.390477Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990710:4362] disconnected; active server actors: 1
2025-10-26T18:07:22.390521Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990710:4362] disconnected no session
2025-10-26T18:07:22.402603Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.402662Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-26T18:07:22.402690Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990694:4362] (SourceId=sid_rand_20, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.402732Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 31 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-26T18:07:22.403939Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.404079Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_20
2025-10-26T18:07:22.404676Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 31 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.406978Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 31 sessionId: sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.407001Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 31 sessionId: sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0 grpc read failed
2025-10-26T18:07:22.407039Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 31 sessionId: sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0 grpc closed
2025-10-26T18:07:22.407062Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 31 sessionId: sid_rand_20|abc791b-f39fd24f-60e4c6d9-a2f88f0b_0 is DEAD
2025-10-26T18:07:22.408124Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.408631Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.408656Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 32
2025-10-26T18:07:22.410243Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 32 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_21" }
2025-10-26T18:07:22.410402Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 32 topic: "topic1" message_group_id: "sid_rand_21" from ipv6:[::1]:60696
2025-10-26T18:07:22.410429Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=32 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.410444Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.413202Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 32 sessionId:  describe result for acl check
2025-10-26T18:07:22.413354Z node 11 :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:22.413376Z node 11 :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:22.413390Z node 11 :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:22.413413Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.417447Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.427332Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.427754Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990749:4379] connected; active server actors: 1
2025-10-26T18:07:22.428389Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_21
2025-10-26T18:07:22.428434Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.428956Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990749:4379] disconnected; active server actors: 1
2025-10-26T18:07:22.429012Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990749:4379] disconnected no session
2025-10-26T18:07:22.439586Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_21
2025-10-26T18:07:22.437905Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.437987Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-26T18:07:22.438014Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990725:4379] (SourceId=sid_rand_21, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.438055Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 32 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-26T18:07:22.439231Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.440952Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 32 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.443415Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 32 sessionId: sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.443444Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 32 sessionId: sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0 grpc read failed
2025-10-26T18:07:22.443474Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 32 sessionId: sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0 grpc closed
2025-10-26T18:07:22.443499Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 32 sessionId: sid_rand_21|8d4b3fc0-f33771f6-b1dbabb5-b0f84933_0 is DEAD
2025-10-26T18:07:22.443623Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.443651Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 33
2025-10-26T18:07:22.443953Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 33 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_22" }
2025-10-26T18:07:22.444063Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 33 topic: "topic1" message_group_id: "sid_rand_22" from ipv6:[::1]:60696
2025-10-26T18:07:22.444082Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=33 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.444094Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.444692Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.446041Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 33 sessionId:  describe result for acl check
2025-10-26T18:07:22.446227Z node 11 :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:22.446251Z node 11 :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:22.446266Z node 11 :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:22.446289Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.449800Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.458269Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.458942Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990779:4349] connected; active server actors: 1
2025-10-26T18:07:22.459386Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_22
2025-10-26T18:07:22.459418Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.460007Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990779:4349] disconnected; active server actors: 1
2025-10-26T18:07:22.460039Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990779:4349] disconnected no session
2025-10-26T18:07:22.471603Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.471658Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
Init result: { 2025-10-26T18:07:22.471675Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990764:4349] (SourceId=sid_rand_22, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.471703Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 33 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:22.472474Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.472645Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_22
status: SUCCESS init_response { session_id: "sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.473153Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 33 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0
2025-10-26T18:07:22.475092Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 33 sessionId: sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.475123Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 33 sessionId: sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0 grpc read failed
2025-10-26T18:07:22.475154Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 33 sessionId: sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0 grpc closed
2025-10-26T18:07:22.475177Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 33 sessionId: sid_rand_22|55f0ce27-5cd8d425-ebd1bbc0-89ff2774_0 is DEAD
2025-10-26T18:07:22.475394Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.475424Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 34
2025-10-26T18:07:22.475824Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 34 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_23" }
2025-10-26T18:07:22.475971Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 34 topic: "topic1" message_group_id: "sid_rand_23" from ipv6:[::1]:60696
2025-10-26T18:07:22.475990Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=34 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.476002Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.476315Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.477645Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 34 sessionId:  describe result for acl check
2025-10-26T18:07:22.477805Z node 11 :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:22.477825Z node 11 :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:22.477841Z node 11 :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:22.477864Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.480530Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.491654Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.492238Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990807:4330] connected; active server actors: 1
2025-10-26T18:07:22.492646Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_23
2025-10-26T18:07:22.492681Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.493256Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990807:4330] disconnected; active server actors: 1
2025-10-26T18:07:22.493296Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990807:4330] disconnected no session
2025-10-26T18:07:22.502849Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.502908Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-26T18:07:22.502932Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990792:4330] (SourceId=sid_rand_23, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.502966Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 34 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:22.503720Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.503925Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_23
2025-10-26T18:07:22.504735Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 34 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.509032Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.509031Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 34 sessionId: sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.509053Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 34 sessionId: sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0 grpc read failed
2025-10-26T18:07:22.509067Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 35
2025-10-26T18:07:22.509082Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 34 sessionId: sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0 grpc closed
2025-10-26T18:07:22.509106Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 34 sessionId: sid_rand_23|d4380447-40ed278f-1f05b406-c689514a_0 is DEAD
2025-10-26T18:07:22.509403Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 35 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_24" }
2025-10-26T18:07:22.509547Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 35 topic: "topic1" message_group_id: "sid_rand_24" from ipv6:[::1]:60696
2025-10-26T18:07:22.509567Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=35 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.509580Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.510104Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.511812Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 35 sessionId:  describe result for acl check
2025-10-26T18:07:22.512005Z node 11 :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:22.512029Z node 11 :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:22.512043Z node 11 :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:22.512066Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.515412Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.524782Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.526040Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990837:4348] connected; active server actors: 1
2025-10-26T18:07:22.527198Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_24
2025-10-26T18:07:22.527266Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.528041Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990837:4348] disconnected; active server actors: 1
2025-10-26T18:07:22.528080Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990837:4348] disconnected no session
2025-10-26T18:07:22.546195Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.548332Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_24|c2476b1d-9e28f028-d199dc1c-1190b716_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_24
2025-10-26T18:07:22.546259Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-26T18:07:22.546287Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990822:4348] (SourceId=sid_rand_24, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.546332Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 35 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-26T18:07:22.547994Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.549344Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 35 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_24|c2476b1d-9e28f028-d199dc1c-1190b716_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_24|c2476b1d-9e28f028-d199dc1c-1190b716_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.554135Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 35 sessionId: sid_rand_24|c2476b1d-9e28f028-d199dc1c-1190b716_0 grpc closed
2025-10-26T18:07:22.554181Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 35 sessionId: sid_rand_24|c2476b1d-9e28f028-d199dc1c-1190b716_0 is DEAD
2025-10-26T18:07:22.555174Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.555286Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.555310Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 36
2025-10-26T18:07:22.558246Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 36 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_25" }
2025-10-26T18:07:22.558432Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 36 topic: "topic1" message_group_id: "sid_rand_25" from ipv6:[::1]:60696
2025-10-26T18:07:22.558455Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=36 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.558471Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.561326Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 36 sessionId:  describe result for acl check
2025-10-26T18:07:22.561529Z node 11 :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:22.561547Z node 11 :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:22.561564Z node 11 :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:22.561591Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.565184Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.575826Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.577595Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990867:4346] connected; active server actors: 1
2025-10-26T18:07:22.578560Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_25
2025-10-26T18:07:22.578601Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.579244Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990867:4346] disconnected; active server actors: 1
2025-10-26T18:07:22.579286Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990867:4346] disconnected no session
2025-10-26T18:07:22.589817Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.589886Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-26T18:07:22.589917Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990849:4346] (SourceId=sid_rand_25, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.589971Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 36 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-26T18:07:22.590879Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.591057Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_25
2025-10-26T18:07:22.591649Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 36 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.594136Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.594170Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 37
2025-10-26T18:07:22.594364Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 36 sessionId: sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.594388Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 36 sessionId: sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0 grpc read failed
2025-10-26T18:07:22.594415Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 36 sessionId: sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0 grpc closed
2025-10-26T18:07:22.594450Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 36 sessionId: sid_rand_25|75a8dded-60806a42-b77153a8-b15036_0 is DEAD
2025-10-26T18:07:22.594606Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 37 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_26" }
2025-10-26T18:07:22.594786Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 37 topic: "topic1" message_group_id: "sid_rand_26" from ipv6:[::1]:60696
2025-10-26T18:07:22.594813Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=37 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.594826Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.595580Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.597647Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 37 sessionId:  describe result for acl check
2025-10-26T18:07:22.597858Z node 11 :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:22.597882Z node 11 :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:22.597897Z node 11 :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:22.597937Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.601310Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.609120Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.609825Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990897:4349] connected; active server actors: 1
2025-10-26T18:07:22.610545Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_26
2025-10-26T18:07:22.610580Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.611130Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990897:4349] disconnected; active server actors: 1
2025-10-26T18:07:22.611165Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990897:4349] disconnected no session
2025-10-26T18:07:22.623914Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.623979Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-26T18:07:22.624016Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990882:4349] (SourceId=sid_rand_26, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.624057Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 37 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-26T18:07:22.627014Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.627318Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_26
2025-10-26T18:07:22.628222Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 37 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.630553Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 37 sessionId: sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.630578Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 37 sessionId: sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0 grpc read failed
2025-10-26T18:07:22.630609Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 37 sessionId: sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0 grpc closed
2025-10-26T18:07:22.630633Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 37 sessionId: sid_rand_26|e9517e2e-f62e2f93-275e3a1e-33bd4116_0 is DEAD
2025-10-26T18:07:22.630741Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.630771Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 38
2025-10-26T18:07:22.631442Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.633982Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 38 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_27" }
2025-10-26T18:07:22.634146Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 38 topic: "topic1" message_group_id: "sid_rand_27" from ipv6:[::1]:60696
2025-10-26T18:07:22.634173Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=38 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.634188Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.636293Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 38 sessionId:  describe result for acl check
2025-10-26T18:07:22.636468Z node 11 :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:22.636493Z node 11 :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:22.636510Z node 11 :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:22.636535Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.639839Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.647015Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.647614Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990924:4370] connected; active server actors: 1
2025-10-26T18:07:22.649399Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_27
2025-10-26T18:07:22.649437Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.650069Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990924:4370] disconnected; active server actors: 1
2025-10-26T18:07:22.650107Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990924:4370] disconnected no session
2025-10-26T18:07:22.660424Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.660495Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-26T18:07:22.660522Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990909:4370] (SourceId=sid_rand_27, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.660557Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 38 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-26T18:07:22.661232Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.661368Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_27
2025-10-26T18:07:22.662616Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 38 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.665915Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 38 sessionId: sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.665955Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 38 sessionId: sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0 grpc read failed
2025-10-26T18:07:22.665984Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 38 sessionId: sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0 grpc closed
2025-10-26T18:07:22.666008Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 38 sessionId: sid_rand_27|28bc7bb4-c4d1cc5f-5a1601c0-240a1ef6_0 is DEAD
2025-10-26T18:07:22.666165Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.666194Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 39
2025-10-26T18:07:22.666626Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 39 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_28" }
2025-10-26T18:07:22.666783Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 39 topic: "topic1" message_group_id: "sid_rand_28" from ipv6:[::1]:60696
2025-10-26T18:07:22.666818Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=39 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.666831Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.666985Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.670323Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 39 sessionId:  describe result for acl check
2025-10-26T18:07:22.670513Z node 11 :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:22.670529Z node 11 :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:22.670548Z node 11 :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:22.670574Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.674396Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.683223Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.684747Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_28
2025-10-26T18:07:22.684777Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.684038Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990954:4382] connected; active server actors: 1
2025-10-26T18:07:22.685611Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990954:4382] disconnected; active server actors: 1
2025-10-26T18:07:22.685641Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990954:4382] disconnected no session
2025-10-26T18:07:22.697169Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.697234Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-26T18:07:22.697260Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990939:4382] (SourceId=sid_rand_28, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.697299Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 39 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-26T18:07:22.698037Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.698181Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_28
2025-10-26T18:07:22.698659Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 39 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.700609Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 39 sessionId: sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.700636Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 39 sessionId: sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0 grpc read failed
2025-10-26T18:07:22.700673Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 39 sessionId: sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0 grpc closed
2025-10-26T18:07:22.700694Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 39 sessionId: sid_rand_28|5fabb97f-543283de-e73f9bc9-7b976047_0 is DEAD
2025-10-26T18:07:22.701138Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.701165Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 40
2025-10-26T18:07:22.701769Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.702118Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 40 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_29" }
2025-10-26T18:07:22.702267Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 40 topic: "topic1" message_group_id: "sid_rand_29" from ipv6:[::1]:60696
2025-10-26T18:07:22.702293Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=40 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.702307Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.704097Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 40 sessionId:  describe result for acl check
2025-10-26T18:07:22.704282Z node 11 :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:22.704305Z node 11 :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:22.704321Z node 11 :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:22.704345Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.707668Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.718993Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.719553Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990985:4349] connected; active server actors: 1
2025-10-26T18:07:22.720039Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_29
2025-10-26T18:07:22.720101Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.720978Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990985:4349] disconnected; active server actors: 1
2025-10-26T18:07:22.721015Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189990985:4349] disconnected no session
2025-10-26T18:07:22.735480Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.735540Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-26T18:07:22.735568Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189990967:4349] (SourceId=sid_rand_29, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.735608Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 40 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-26T18:07:22.736871Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.737094Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_29
2025-10-26T18:07:22.737613Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 40 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.743836Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 40 sessionId: sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.743860Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 40 sessionId: sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0 grpc read failed
2025-10-26T18:07:22.743884Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 40 sessionId: sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0 grpc closed
2025-10-26T18:07:22.743903Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 40 sessionId: sid_rand_29|e069da0-3fcbe135-a815ec5a-5a4baeef_0 is DEAD
2025-10-26T18:07:22.744355Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.744392Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 41
2025-10-26T18:07:22.744791Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.746274Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 41 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_30" }
2025-10-26T18:07:22.746452Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 41 topic: "topic1" message_group_id: "sid_rand_30" from ipv6:[::1]:60696
2025-10-26T18:07:22.746488Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=41 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.746505Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.749588Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 41 sessionId:  describe result for acl check
2025-10-26T18:07:22.749774Z node 11 :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:22.749791Z node 11 :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:22.749807Z node 11 :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:22.749833Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.752545Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.765259Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.765863Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991015:4374] connected; active server actors: 1
2025-10-26T18:07:22.766262Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_30
2025-10-26T18:07:22.766286Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.766794Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991015:4374] disconnected; active server actors: 1
2025-10-26T18:07:22.766826Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991015:4374] disconnected no session
2025-10-26T18:07:22.778376Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.778455Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:22.778484Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991000:4374] (SourceId=sid_rand_30, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.778529Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 41 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:22.779552Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:22.779720Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_30
2025-10-26T18:07:22.780262Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 41 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.782501Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 41 sessionId: sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.782529Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 41 sessionId: sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0 grpc read failed
2025-10-26T18:07:22.782575Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 41 sessionId: sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0
2025-10-26T18:07:22.782603Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 41 sessionId: sid_rand_30|a5b64045-ec63cf26-89e40d7a-235add9a_0 is DEAD
2025-10-26T18:07:22.783046Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.783364Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.783390Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 42
2025-10-26T18:07:22.785970Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 42 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_31" }
2025-10-26T18:07:22.786176Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 42 topic: "topic1" message_group_id: "sid_rand_31" from ipv6:[::1]:60696
2025-10-26T18:07:22.786198Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=42 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.786215Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.789675Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 42 sessionId:  describe result for acl check
2025-10-26T18:07:22.789883Z node 11 :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:22.789900Z node 11 :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:22.789914Z node 11 :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:22.789949Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.793006Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.801177Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.801929Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991043:4330] connected; active server actors: 1
2025-10-26T18:07:22.802667Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_31
2025-10-26T18:07:22.802698Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.803448Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991043:4330] disconnected; active server actors: 1
2025-10-26T18:07:22.803484Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991043:4330] disconnected no session
2025-10-26T18:07:22.814631Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.814693Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:22.814721Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991028:4330] (SourceId=sid_rand_31, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.814760Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 42 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:22.816708Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.817154Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_31
2025-10-26T18:07:22.818376Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 42 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.820782Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 42 sessionId: sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.820804Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 42 sessionId: sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0 grpc read failed
2025-10-26T18:07:22.820845Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 42 sessionId: sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0 grpc closed
2025-10-26T18:07:22.820870Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 42 sessionId: sid_rand_31|93e30c68-c3534e5d-59d491ce-91ed2056_0 is DEAD
2025-10-26T18:07:22.821091Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.821123Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 43
2025-10-26T18:07:22.821844Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.822042Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 43 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_32" }
2025-10-26T18:07:22.822194Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 43 topic: "topic1" message_group_id: "sid_rand_32" from ipv6:[::1]:60696
2025-10-26T18:07:22.822216Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=43 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.822229Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.824092Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 43 sessionId:  describe result for acl check
2025-10-26T18:07:22.824281Z node 11 :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:22.824304Z node 11 :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:22.824321Z node 11 :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:22.824344Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.827654Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.834612Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.838268Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_32
2025-10-26T18:07:22.838311Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.837997Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991072:4360] connected; active server actors: 1
2025-10-26T18:07:22.838996Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991072:4360] disconnected; active server actors: 1
2025-10-26T18:07:22.839028Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991072:4360] disconnected no session
2025-10-26T18:07:22.863354Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.863421Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:22.863448Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991055:4360] (SourceId=sid_rand_32, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.863497Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 43 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:22.864895Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.865842Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_32
Init result: { status: SUCCESS init_response { session_id: "sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.875723Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 43 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0
2025-10-26T18:07:22.878891Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 43 sessionId: sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.878914Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 43 sessionId: sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0 grpc read failed
2025-10-26T18:07:22.878944Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 43 sessionId: sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0 grpc closed
2025-10-26T18:07:22.878965Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 43 sessionId: sid_rand_32|62346dc-fdeacc21-1a652406-af42cbf6_0 is DEAD
2025-10-26T18:07:22.880081Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.880167Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.880187Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 44
2025-10-26T18:07:22.880835Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 44 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_33" }
2025-10-26T18:07:22.880982Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 44 topic: "topic1" message_group_id: "sid_rand_33" from ipv6:[::1]:60696
2025-10-26T18:07:22.881010Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=44 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.881023Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.883406Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 44 sessionId:  describe result for acl check
2025-10-26T18:07:22.883592Z node 11 :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:22.883608Z node 11 :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:22.883627Z node 11 :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:22.883653Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.890240Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.909951Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991116:4352] connected; active server actors: 1
2025-10-26T18:07:22.908561Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.915809Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_33
2025-10-26T18:07:22.915847Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.920097Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991116:4352] disconnected; active server actors: 1
2025-10-26T18:07:22.920143Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991116:4352] disconnected no session
2025-10-26T18:07:22.928965Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.929065Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-26T18:07:22.929097Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991091:4352] (SourceId=sid_rand_33, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.929152Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 44 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-26T18:07:22.929812Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:22.929949Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_33
2025-10-26T18:07:22.934135Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 44 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.938627Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 44 sessionId: sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.938665Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 44 sessionId: sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0 grpc read failed
2025-10-26T18:07:22.938708Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 44 sessionId: sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0 grpc closed
2025-10-26T18:07:22.938738Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 44 sessionId: sid_rand_33|da7bfeb7-4fd53c60-88cccd79-27291227_0 is DEAD
2025-10-26T18:07:22.939684Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.939715Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 45
2025-10-26T18:07:22.939780Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.942407Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 45 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_34" }
2025-10-26T18:07:22.942606Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 45 topic: "topic1" message_group_id: "sid_rand_34" from ipv6:[::1]:60696
2025-10-26T18:07:22.942628Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=45 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.942644Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.951188Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 45 sessionId:  describe result for acl check
2025-10-26T18:07:22.951414Z node 11 :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:22.951432Z node 11 :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:22.951448Z node 11 :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:22.951475Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.955320Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:22.965329Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:22.968904Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991146:4379] connected; active server actors: 1
2025-10-26T18:07:22.969575Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_34
2025-10-26T18:07:22.969618Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:22.970313Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991146:4379] disconnected; active server actors: 1
2025-10-26T18:07:22.970349Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593665189991146:4379] disconnected no session
2025-10-26T18:07:22.984919Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:22.984986Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-26T18:07:22.985016Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991131:4379] (SourceId=sid_rand_34, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:22.985053Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 45 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-26T18:07:22.986884Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:22.987380Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_34
2025-10-26T18:07:22.988585Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 45 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:22.990640Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 45 sessionId: sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0 grpc read done: success: 0 data: 
2025-10-26T18:07:22.990669Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 45 sessionId: sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0 grpc read failed
2025-10-26T18:07:22.990705Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 45 sessionId: sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0 grpc closed
2025-10-26T18:07:22.990729Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 45 sessionId: sid_rand_34|afe7d0c5-358d3cb3-ef98d990-87ccc1a6_0 is DEAD
2025-10-26T18:07:22.992109Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:22.992141Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 46
2025-10-26T18:07:22.992608Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:22.993349Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 46 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_35" }
2025-10-26T18:07:22.993542Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 46 topic: "topic1" message_group_id: "sid_rand_35" from ipv6:[::1]:60696
2025-10-26T18:07:22.993563Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=46 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:22.993580Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:22.995694Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 46 sessionId:  describe result for acl check
2025-10-26T18:07:22.995891Z node 11 :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:22.995907Z node 11 :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:22.995923Z node 11 :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:22.995946Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:22.999436Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.009401Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.010539Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958471:4376] connected; active server actors: 1
2025-10-26T18:07:23.012210Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958471:4376] disconnected; active server actors: 1
2025-10-26T18:07:23.012249Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958471:4376] disconnected no session
2025-10-26T18:07:23.011358Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_35
2025-10-26T18:07:23.011392Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.024189Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.024258Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-26T18:07:23.024288Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593665189991158:4376] (SourceId=sid_rand_35, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.024330Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 46 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:23.025694Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.030039Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_35
2025-10-26T18:07:23.031151Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 46 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.038486Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 46 sessionId: sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.038527Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 46 sessionId: sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0 grpc read failed
2025-10-26T18:07:23.038566Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 46 sessionId: sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0 grpc closed
2025-10-26T18:07:23.038596Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 46 sessionId: sid_rand_35|3989819f-3cc39d4-3034a4a8-369a7d65_0 is DEAD
2025-10-26T18:07:23.040002Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.040537Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.040561Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 47
2025-10-26T18:07:23.041091Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 47 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_36" }
2025-10-26T18:07:23.041241Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 47 topic: "topic1" message_group_id: "sid_rand_36" from ipv6:[::1]:60696
2025-10-26T18:07:23.041275Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=47 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.041288Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.043519Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 47 sessionId:  describe result for acl check
2025-10-26T18:07:23.043719Z node 11 :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:23.043736Z node 11 :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:23.043752Z node 11 :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:23.043776Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.048253Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.060237Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.060972Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958502:4358] connected; active server actors: 1
2025-10-26T18:07:23.061578Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_36
2025-10-26T18:07:23.061615Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.062629Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958502:4358] disconnected; active server actors: 1
2025-10-26T18:07:23.062671Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958502:4358] disconnected no session
2025-10-26T18:07:23.073711Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.073778Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-26T18:07:23.073804Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958484:4358] (SourceId=sid_rand_36, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.073844Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 47 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:23.075223Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.075496Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_36
2025-10-26T18:07:23.076133Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 47 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.078551Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 47 sessionId: sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.078578Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 47 sessionId: sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0 grpc read failed
2025-10-26T18:07:23.078623Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 47 sessionId: sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0
2025-10-26T18:07:23.078649Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 47 sessionId: sid_rand_36|e08b7065-47aa6e7-b7add321-73b6fc3c_0 is DEAD
2025-10-26T18:07:23.079100Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.079205Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.079226Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 48
2025-10-26T18:07:23.080551Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 48 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_37" }
2025-10-26T18:07:23.080720Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 48 topic: "topic1" message_group_id: "sid_rand_37" from ipv6:[::1]:60696
2025-10-26T18:07:23.080739Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=48 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.080753Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.086991Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 48 sessionId:  describe result for acl check
2025-10-26T18:07:23.087216Z node 11 :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:23.087234Z node 11 :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:23.087251Z node 11 :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:23.087277Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.091003Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.099762Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958532:4367] connected; active server actors: 1
2025-10-26T18:07:23.100986Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958532:4367] disconnected; active server actors: 1
2025-10-26T18:07:23.101026Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958532:4367] disconnected no session
2025-10-26T18:07:23.098788Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.100348Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_37
2025-10-26T18:07:23.100376Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.182403Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.182471Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-26T18:07:23.182498Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958515:4367] (SourceId=sid_rand_37, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.182536Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 48 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-26T18:07:23.183495Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.183811Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_37
2025-10-26T18:07:23.185944Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 48 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.192875Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 48 sessionId: sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.192918Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 48 sessionId: sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0 grpc read failed
2025-10-26T18:07:23.192956Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 48 sessionId: sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0 grpc closed
2025-10-26T18:07:23.192979Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 48 sessionId: sid_rand_37|65b1aac8-64ae74b-619b89fb-c9ebefaa_0 is DEAD
2025-10-26T18:07:23.193140Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.193175Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 49
2025-10-26T18:07:23.193785Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 49 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_38" }
2025-10-26T18:07:23.193967Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 49 topic: "topic1" message_group_id: "sid_rand_38" from ipv6:[::1]:60696
2025-10-26T18:07:23.193995Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=49 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.194010Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.194065Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.195570Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 49 sessionId:  describe result for acl check
2025-10-26T18:07:23.195708Z node 11 :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:23.195728Z node 11 :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:23.195745Z node 11 :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:23.195769Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.198304Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.207708Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.210396Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958564:4381] connected; active server actors: 1
2025-10-26T18:07:23.211698Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958564:4381] disconnected; active server actors: 1
2025-10-26T18:07:23.211741Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958564:4381] disconnected no session
2025-10-26T18:07:23.210920Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_38
2025-10-26T18:07:23.210963Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.224304Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.224376Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-26T18:07:23.224404Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958546:4381] (SourceId=sid_rand_38, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.224450Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 49 sessionId:  partition: 7 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.226920Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.227082Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_38
2025-10-26T18:07:23.227666Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 49 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0
2025-10-26T18:07:23.230286Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 49 sessionId: sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.230323Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 49 sessionId: sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0 grpc read failed
2025-10-26T18:07:23.230355Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 49 sessionId: sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0 grpc closed
2025-10-26T18:07:23.230377Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 49 sessionId: sid_rand_38|38c089ed-ec06ebfd-733ab1bf-25ee4e8e_0 is DEAD
2025-10-26T18:07:23.231548Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.232468Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.232503Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 50
2025-10-26T18:07:23.232885Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 50 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_39" }
2025-10-26T18:07:23.233052Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 50 topic: "topic1" message_group_id: "sid_rand_39" from ipv6:[::1]:60696
2025-10-26T18:07:23.233081Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=50 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.233094Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.235118Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 50 sessionId:  describe result for acl check
2025-10-26T18:07:23.235329Z node 11 :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:23.235347Z node 11 :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:23.235366Z node 11 :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:23.235392Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.239192Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.247214Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.249818Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958592:4322] connected; active server actors: 1
2025-10-26T18:07:23.250145Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_39
2025-10-26T18:07:23.250188Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.250882Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958592:4322] disconnected; active server actors: 1
2025-10-26T18:07:23.250933Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958592:4322] disconnected no session
2025-10-26T18:07:23.260886Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.260950Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-26T18:07:23.260978Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958577:4322] (SourceId=sid_rand_39, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.261015Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 50 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-26T18:07:23.262520Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.262939Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_39
2025-10-26T18:07:23.264173Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 50 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.266718Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 50 sessionId: sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.266744Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 50 sessionId: sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0 grpc read failed
2025-10-26T18:07:23.266774Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 50 sessionId: sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0 grpc closed
2025-10-26T18:07:23.266799Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 50 sessionId: sid_rand_39|d1911098-9e80393f-7687498b-58e70db0_0 is DEAD
2025-10-26T18:07:23.267740Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.268438Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.268468Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 51
2025-10-26T18:07:23.268814Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 51 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_40" }
2025-10-26T18:07:23.268963Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 51 topic: "topic1" message_group_id: "sid_rand_40" from ipv6:[::1]:60696
2025-10-26T18:07:23.268990Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=51 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.269004Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.270919Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 51 sessionId:  describe result for acl check
2025-10-26T18:07:23.271173Z node 11 :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:23.271190Z node 11 :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:23.271206Z node 11 :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:23.271230Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.274612Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.282543Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.283708Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958621:4346] connected; active server actors: 1
2025-10-26T18:07:23.284221Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_40
2025-10-26T18:07:23.284253Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.285050Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958621:4346] disconnected; active server actors: 1
2025-10-26T18:07:23.285090Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958621:4346] disconnected no session
2025-10-26T18:07:23.296146Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.296210Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-26T18:07:23.296237Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958606:4346] (SourceId=sid_rand_40, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.296271Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 51 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-26T18:07:23.297544Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.297849Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_40
2025-10-26T18:07:23.298417Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 51 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.300637Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 51 sessionId: sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.300693Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 51 sessionId: sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0 grpc read failed
2025-10-26T18:07:23.300737Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 51 sessionId: sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0 grpc closed
2025-10-26T18:07:23.300760Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 51 sessionId: sid_rand_40|c969436a-35679425-7ac53a2d-498a8505_0 is DEAD
2025-10-26T18:07:23.302183Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.302301Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.302332Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 52
2025-10-26T18:07:23.302830Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 52 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_41" }
2025-10-26T18:07:23.302995Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 52 topic: "topic1" message_group_id: "sid_rand_41" from ipv6:[::1]:60696
2025-10-26T18:07:23.303016Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=52 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.303032Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.305092Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 52 sessionId:  describe result for acl check
2025-10-26T18:07:23.305278Z node 11 :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:23.305294Z node 11 :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:23.305311Z node 11 :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:23.305335Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.308744Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.316230Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.317050Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958651:4386] connected; active server actors: 1
2025-10-26T18:07:23.317491Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_41
2025-10-26T18:07:23.317521Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.318311Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958651:4386] disconnected; active server actors: 1
2025-10-26T18:07:23.318350Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958651:4386] disconnected no session
2025-10-26T18:07:23.332647Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.332731Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-26T18:07:23.332772Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958636:4386] (SourceId=sid_rand_41, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.332812Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 52 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-26T18:07:23.333647Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.333825Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_41
2025-10-26T18:07:23.335133Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 52 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.337676Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 52 sessionId: sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.337724Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 52 sessionId: sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0 grpc read failed
2025-10-26T18:07:23.337755Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 52 sessionId: sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0 grpc closed
2025-10-26T18:07:23.337775Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 52 sessionId: sid_rand_41|de5f1ed5-4bc0299-b5b9ffa9-930ce9d8_0 is DEAD
2025-10-26T18:07:23.338713Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.338853Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.338880Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 53
2025-10-26T18:07:23.339632Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 53 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_42" }
2025-10-26T18:07:23.339799Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 53 topic: "topic1" message_group_id: "sid_rand_42" from ipv6:[::1]:60696
2025-10-26T18:07:23.339825Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=53 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.339840Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.341912Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 53 sessionId:  describe result for acl check
2025-10-26T18:07:23.342128Z node 11 :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:23.342150Z node 11 :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:23.342166Z node 11 :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:23.342190Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.345940Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.355894Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.356891Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958690:4351] connected; active server actors: 1
2025-10-26T18:07:23.357501Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_42
2025-10-26T18:07:23.357545Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.358272Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958690:4351] disconnected; active server actors: 1
2025-10-26T18:07:23.358309Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958690:4351] disconnected no session
2025-10-26T18:07:23.372801Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.372868Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-26T18:07:23.372893Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958668:4351] (SourceId=sid_rand_42, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.372928Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 53 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-26T18:07:23.374572Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.375001Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_42
2025-10-26T18:07:23.376148Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 53 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.378578Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 53 sessionId: sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.378607Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 53 sessionId: sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0 grpc read failed
2025-10-26T18:07:23.378634Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 53 sessionId: sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0 grpc closed
2025-10-26T18:07:23.378655Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 53 sessionId: sid_rand_42|27066c24-f832e340-5a3a23d5-85596acd_0 is DEAD
2025-10-26T18:07:23.379517Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.380455Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.380483Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 54
2025-10-26T18:07:23.380811Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 54 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_43" }
2025-10-26T18:07:23.380958Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 54 topic: "topic1" message_group_id: "sid_rand_43" from ipv6:[::1]:60696
2025-10-26T18:07:23.380983Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=54 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.381002Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.383569Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 54 sessionId:  describe result for acl check
2025-10-26T18:07:23.383749Z node 11 :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:23.383769Z node 11 :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:23.383786Z node 11 :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:23.383809Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.387385Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.396286Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.397034Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958726:4383] connected; active server actors: 1
2025-10-26T18:07:23.397761Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_43
2025-10-26T18:07:23.397795Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.398655Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958726:4383] disconnected; active server actors: 1
2025-10-26T18:07:23.398692Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958726:4383] disconnected no session
2025-10-26T18:07:23.407993Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.408061Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-26T18:07:23.408085Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958711:4383] (SourceId=sid_rand_43, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.408120Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 54 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-26T18:07:23.409353Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.409622Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_43
2025-10-26T18:07:23.410165Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 54 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.413413Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 54 sessionId: sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.413442Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 54 sessionId: sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0 grpc read failed
2025-10-26T18:07:23.413472Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 54 sessionId: sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0 grpc closed
2025-10-26T18:07:23.413500Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 54 sessionId: sid_rand_43|b6ab0d58-fcac3a5e-35477051-d351795d_0 is DEAD
2025-10-26T18:07:23.414463Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.414574Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.414592Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 55
2025-10-26T18:07:23.418013Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 55 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_44" }
2025-10-26T18:07:23.418188Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 55 topic: "topic1" message_group_id: "sid_rand_44" from ipv6:[::1]:60696
2025-10-26T18:07:23.418216Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=55 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.418230Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.420277Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 55 sessionId:  describe result for acl check
2025-10-26T18:07:23.420472Z node 11 :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:23.420488Z node 11 :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:23.420505Z node 11 :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:23.420530Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.423852Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.435536Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.436629Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958759:4337] connected; active server actors: 1
2025-10-26T18:07:23.437354Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_44
2025-10-26T18:07:23.437389Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.437954Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958759:4337] disconnected; active server actors: 1
2025-10-26T18:07:23.437998Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958759:4337] disconnected no session
2025-10-26T18:07:23.453891Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.454005Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-26T18:07:23.454031Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958739:4337] (SourceId=sid_rand_44, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.454067Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 55 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-26T18:07:23.454961Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.455121Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_44
2025-10-26T18:07:23.455741Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 55 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.458351Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 55 sessionId: sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.458377Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 55 sessionId: sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0 grpc read failed
2025-10-26T18:07:23.458409Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 55 sessionId: sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0 grpc closed
2025-10-26T18:07:23.458431Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 55 sessionId: sid_rand_44|e8e68ba3-4a816d63-21188094-945cc51b_0 is DEAD
2025-10-26T18:07:23.459319Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.459412Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.459431Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 56
2025-10-26T18:07:23.460349Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 56 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_45" }
2025-10-26T18:07:23.460499Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 56 topic: "topic1" message_group_id: "sid_rand_45" from ipv6:[::1]:60696
2025-10-26T18:07:23.460521Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=56 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.460533Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.462533Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 56 sessionId:  describe result for acl check
2025-10-26T18:07:23.462715Z node 11 :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:23.462731Z node 11 :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:23.462746Z node 11 :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:23.462768Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.466354Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.477831Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.479096Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_45
2025-10-26T18:07:23.479126Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.478739Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958790:4347] connected; active server actors: 1
2025-10-26T18:07:23.479608Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958790:4347] disconnected; active server actors: 1
2025-10-26T18:07:23.479640Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958790:4347] disconnected no session
2025-10-26T18:07:23.496059Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.496132Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-26T18:07:23.496158Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958772:4347] (SourceId=sid_rand_45, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.496197Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 56 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-26T18:07:23.497122Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.497298Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_45
2025-10-26T18:07:23.497867Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 56 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.502085Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 56 sessionId: sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.502117Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 56 sessionId: sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0 grpc read failed
2025-10-26T18:07:23.502149Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 56 sessionId: sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0 grpc closed
2025-10-26T18:07:23.502172Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 56 sessionId: sid_rand_45|97c75825-57fc65cb-6a6ff1ba-b4c21fed_0 is DEAD
2025-10-26T18:07:23.503043Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.503141Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.503159Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 57
2025-10-26T18:07:23.503738Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 57 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_46" }
2025-10-26T18:07:23.503895Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 57 topic: "topic1" message_group_id: "sid_rand_46" from ipv6:[::1]:60696
2025-10-26T18:07:23.503915Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=57 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.503931Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.506106Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 57 sessionId:  describe result for acl check
2025-10-26T18:07:23.506280Z node 11 :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:23.506295Z node 11 :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:23.506310Z node 11 :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:23.506331Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.509457Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.519703Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.520329Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958818:4387] connected; active server actors: 1
2025-10-26T18:07:23.520899Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_46
2025-10-26T18:07:23.520927Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.521529Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958818:4387] disconnected; active server actors: 1
2025-10-26T18:07:23.521563Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958818:4387] disconnected no session
2025-10-26T18:07:23.532101Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.532164Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-26T18:07:23.532188Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958803:4387] (SourceId=sid_rand_46, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.532223Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 57 sessionId:  partition: 12 expectedGeneration: (NULL)
2025-10-26T18:07:23.533280Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.533413Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_46
2025-10-26T18:07:23.533968Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 57 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.538129Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 57 sessionId: sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.538160Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 57 sessionId: sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0 grpc read failed
2025-10-26T18:07:23.538189Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 57 sessionId: sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0 grpc closed
2025-10-26T18:07:23.538211Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 57 sessionId: sid_rand_46|b7bd6249-c9c9b0bf-ed56765e-77e4292c_0 is DEAD
2025-10-26T18:07:23.539056Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.540866Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.540898Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 58
2025-10-26T18:07:23.541242Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 58 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_47" }
2025-10-26T18:07:23.541381Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 58 topic: "topic1" message_group_id: "sid_rand_47" from ipv6:[::1]:60696
2025-10-26T18:07:23.541404Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=58 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.541416Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.543330Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 58 sessionId:  describe result for acl check
2025-10-26T18:07:23.543509Z node 11 :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:23.543534Z node 11 :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:23.543549Z node 11 :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:23.543571Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.546712Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.553629Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.556157Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958846:4384] connected; active server actors: 1
2025-10-26T18:07:23.556873Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_47
2025-10-26T18:07:23.556914Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.557640Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958846:4384] disconnected; active server actors: 1
2025-10-26T18:07:23.557691Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958846:4384] disconnected no session
2025-10-26T18:07:23.599874Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.599937Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-26T18:07:23.599962Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958831:4384] (SourceId=sid_rand_47, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.599993Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 58 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-26T18:07:23.600865Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.601008Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_47
2025-10-26T18:07:23.601514Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 58 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.604661Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 58 sessionId: sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.604690Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 58 sessionId: sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0 grpc read failed
2025-10-26T18:07:23.604720Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 58 sessionId: sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0 grpc closed
2025-10-26T18:07:23.604740Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 58 sessionId: sid_rand_47|e4a12f55-7de9c7af-49f59479-a05e27db_0 is DEAD
2025-10-26T18:07:23.605611Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.605726Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.605746Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 59
2025-10-26T18:07:23.606664Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 59 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_48" }
2025-10-26T18:07:23.606814Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 59 topic: "topic1" message_group_id: "sid_rand_48" from ipv6:[::1]:60696
2025-10-26T18:07:23.606833Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=59 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.606846Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.608611Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 59 sessionId:  describe result for acl check
2025-10-26T18:07:23.608783Z node 11 :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:23.608796Z node 11 :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:23.608810Z node 11 :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:23.608831Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.611977Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.619589Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.620209Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958879:4385] connected; active server actors: 1
2025-10-26T18:07:23.620569Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_48
2025-10-26T18:07:23.620600Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.621099Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958879:4385] disconnected; active server actors: 1
2025-10-26T18:07:23.621122Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958879:4385] disconnected no session
2025-10-26T18:07:23.632733Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.632801Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:23.632825Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958861:4385] (SourceId=sid_rand_48, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.632861Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 59 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:23.633726Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:23.633836Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_48
Init result: { status: SUCCESS init_response { session_id: "sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.634288Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 59 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0
2025-10-26T18:07:23.637407Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 59 sessionId: sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.637433Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 59 sessionId: sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0 grpc read failed
2025-10-26T18:07:23.637803Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 59 sessionId: sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0
2025-10-26T18:07:23.637834Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 59 sessionId: sid_rand_48|4b946a24-3ff86536-8c70e64-515e6cd3_0 is DEAD
2025-10-26T18:07:23.638242Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.638963Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.638989Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 60
2025-10-26T18:07:23.639403Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 60 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_49" }
2025-10-26T18:07:23.639600Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 60 topic: "topic1" message_group_id: "sid_rand_49" from ipv6:[::1]:60696
2025-10-26T18:07:23.639620Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=60 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.639631Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.641474Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 60 sessionId:  describe result for acl check
2025-10-26T18:07:23.641659Z node 11 :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:23.641678Z node 11 :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:23.641715Z node 11 :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:23.641737Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.645414Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.652362Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.653045Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958907:4394] connected; active server actors: 1
2025-10-26T18:07:23.653576Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_49
2025-10-26T18:07:23.653607Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.654276Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958907:4394] disconnected; active server actors: 1
2025-10-26T18:07:23.654318Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958907:4394] disconnected no session
2025-10-26T18:07:23.667286Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.667329Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:23.667346Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958892:4394] (SourceId=sid_rand_49, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.667372Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 60 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:23.668738Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.669039Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_49
2025-10-26T18:07:23.669873Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 60 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.671977Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 60 sessionId: sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.672003Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 60 sessionId: sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0 grpc read failed
2025-10-26T18:07:23.672025Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 60 sessionId: sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0 grpc closed
2025-10-26T18:07:23.672042Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 60 sessionId: sid_rand_49|97706fcd-db019800-15e9f7cc-702d3e7_0 is DEAD
2025-10-26T18:07:23.672667Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.672736Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.672749Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 61
2025-10-26T18:07:23.673815Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 61 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_50" }
2025-10-26T18:07:23.674009Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 61 topic: "topic1" message_group_id: "sid_rand_50" from ipv6:[::1]:60696
2025-10-26T18:07:23.674031Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=61 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.674042Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.675883Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 61 sessionId:  describe result for acl check
2025-10-26T18:07:23.676053Z node 11 :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:23.676068Z node 11 :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:23.676084Z node 11 :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:23.676108Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.679052Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.686273Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.686976Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958934:4353] connected; active server actors: 1
2025-10-26T18:07:23.687290Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_50
2025-10-26T18:07:23.687321Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.687854Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958934:4353] disconnected; active server actors: 1
2025-10-26T18:07:23.687888Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958934:4353] disconnected no session
2025-10-26T18:07:23.697301Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.697362Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:23.697388Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958919:4353] (SourceId=sid_rand_50, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.697421Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 61 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:23.698615Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.700868Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_50
2025-10-26T18:07:23.701955Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 61 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.703862Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 61 sessionId: sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.703904Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 61 sessionId: sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0 grpc read failed
2025-10-26T18:07:23.703931Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 61 sessionId: sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0 grpc closed
2025-10-26T18:07:23.703951Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 61 sessionId: sid_rand_50|8d37ec95-245e76ed-482a84f2-b3c51c40_0 is DEAD
2025-10-26T18:07:23.705033Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.705149Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.705171Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 62
2025-10-26T18:07:23.705490Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 62 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_51" }
2025-10-26T18:07:23.705631Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 62 topic: "topic1" message_group_id: "sid_rand_51" from ipv6:[::1]:60696
2025-10-26T18:07:23.705649Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=62 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.705663Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.707585Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 62 sessionId:  describe result for acl check
2025-10-26T18:07:23.707766Z node 11 :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:23.707779Z node 11 :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:23.707793Z node 11 :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:23.707814Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.711286Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.717379Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.717940Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958961:4367] connected; active server actors: 1
2025-10-26T18:07:23.719263Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_51
2025-10-26T18:07:23.719296Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.719807Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958961:4367] disconnected; active server actors: 1
2025-10-26T18:07:23.719841Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958961:4367] disconnected no session
2025-10-26T18:07:23.738040Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.738107Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-26T18:07:23.738133Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958946:4367] (SourceId=sid_rand_51, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.738165Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 62 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-26T18:07:23.739940Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.740090Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_51
2025-10-26T18:07:23.743329Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 62 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.745169Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 62 sessionId: sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.745197Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 62 sessionId: sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0 grpc read failed
2025-10-26T18:07:23.745224Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 62 sessionId: sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0 grpc closed
2025-10-26T18:07:23.745245Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 62 sessionId: sid_rand_51|9c4265ca-b1695d17-7b93be3a-eaae118d_0 is DEAD
2025-10-26T18:07:23.746130Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.746230Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.746252Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 63
2025-10-26T18:07:23.747258Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 63 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_52" }
2025-10-26T18:07:23.747401Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 63 topic: "topic1" message_group_id: "sid_rand_52" from ipv6:[::1]:60696
2025-10-26T18:07:23.747426Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=63 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.747438Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.755516Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 63 sessionId:  describe result for acl check
2025-10-26T18:07:23.755703Z node 11 :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:23.755717Z node 11 :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:23.755732Z node 11 :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:23.755754Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.759163Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.769703Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.771340Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_52
2025-10-26T18:07:23.771384Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.770610Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958998:4348] connected; active server actors: 1
2025-10-26T18:07:23.772785Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958998:4348] disconnected; active server actors: 1
2025-10-26T18:07:23.772820Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484958998:4348] disconnected no session
2025-10-26T18:07:23.785701Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.785764Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-26T18:07:23.785788Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484958974:4348] (SourceId=sid_rand_52, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.785825Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 63 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-26T18:07:23.790319Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.790666Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_52
Init result: { status: SUCCESS init_response { session_id: "sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.795838Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 63 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0
2025-10-26T18:07:23.801435Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.801450Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 63 sessionId: sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.801468Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 64
2025-10-26T18:07:23.801472Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 63 sessionId: sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0 grpc read failed
2025-10-26T18:07:23.801500Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 63 sessionId: sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0 grpc closed
2025-10-26T18:07:23.801526Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 63 sessionId: sid_rand_52|560039d5-254c9563-7c62c315-69c24d4c_0 is DEAD
2025-10-26T18:07:23.802012Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 64 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_53" }
2025-10-26T18:07:23.802158Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 64 topic: "topic1" message_group_id: "sid_rand_53" from ipv6:[::1]:60696
2025-10-26T18:07:23.802176Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=64 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.802188Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.802495Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.804333Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 64 sessionId:  describe result for acl check
2025-10-26T18:07:23.804525Z node 11 :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:23.804547Z node 11 :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:23.804561Z node 11 :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:23.804584Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.808637Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.820112Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.821525Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959040:4351] connected; active server actors: 1
2025-10-26T18:07:23.823395Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_53
2025-10-26T18:07:23.823433Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.824156Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959040:4351] disconnected; active server actors: 1
2025-10-26T18:07:23.824198Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959040:4351] disconnected no session
2025-10-26T18:07:23.834658Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.834725Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-26T18:07:23.834750Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959025:4351] (SourceId=sid_rand_53, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.834788Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 64 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:23.836001Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.836180Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_53
Init result: { 2025-10-26T18:07:23.836699Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 64 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0
status: SUCCESS init_response { session_id: "sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.838429Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 64 sessionId: sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.838459Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 64 sessionId: sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0 grpc read failed
2025-10-26T18:07:23.838485Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 64 sessionId: sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0 grpc closed
2025-10-26T18:07:23.838504Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 64 sessionId: sid_rand_53|c7a78b5b-f9dbe3fa-926599a-61462778_0 is DEAD
2025-10-26T18:07:23.838892Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.838922Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 65
2025-10-26T18:07:23.839245Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 65 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_54" }
2025-10-26T18:07:23.839380Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 65 topic: "topic1" message_group_id: "sid_rand_54" from ipv6:[::1]:60696
2025-10-26T18:07:23.839403Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=65 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.839415Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.839596Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.841280Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 65 sessionId:  describe result for acl check
2025-10-26T18:07:23.841491Z node 11 :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:23.841515Z node 11 :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:23.841532Z node 11 :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:23.841560Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.844709Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.853376Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.854259Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959074:4376] connected; active server actors: 1
2025-10-26T18:07:23.855112Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_54
2025-10-26T18:07:23.855149Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.855986Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959074:4376] disconnected; active server actors: 1
2025-10-26T18:07:23.856028Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959074:4376] disconnected no session
2025-10-26T18:07:23.868156Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.868241Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-26T18:07:23.868280Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959059:4376] (SourceId=sid_rand_54, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.868337Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 65 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:23.869379Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.869485Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_54
2025-10-26T18:07:23.870188Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 65 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.874536Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 65 sessionId: sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.874569Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 65 sessionId: sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0 grpc read failed
2025-10-26T18:07:23.874601Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 65 sessionId: sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0 grpc closed
2025-10-26T18:07:23.874624Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 65 sessionId: sid_rand_54|b5a283c1-2628c391-5751fd8b-294bd131_0 is DEAD
2025-10-26T18:07:23.875635Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.875770Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.875804Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 66
2025-10-26T18:07:23.876736Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 66 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_55" }
2025-10-26T18:07:23.876889Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 66 topic: "topic1" message_group_id: "sid_rand_55" from ipv6:[::1]:60696
2025-10-26T18:07:23.876916Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=66 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.876928Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.878798Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 66 sessionId:  describe result for acl check
2025-10-26T18:07:23.878991Z node 11 :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:23.879009Z node 11 :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:23.879024Z node 11 :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:23.879049Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.882907Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.893227Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.895342Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959108:4395] connected; active server actors: 1
2025-10-26T18:07:23.895743Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_55
2025-10-26T18:07:23.895775Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.896481Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959108:4395] disconnected; active server actors: 1
2025-10-26T18:07:23.896512Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959108:4395] disconnected no session
2025-10-26T18:07:23.925969Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.926033Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-26T18:07:23.926060Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959090:4395] (SourceId=sid_rand_55, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.926102Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 66 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-26T18:07:23.927463Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:23.927779Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_55
2025-10-26T18:07:23.928599Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 66 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.930856Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 66 sessionId: sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.930876Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 66 sessionId: sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0 grpc read failed
2025-10-26T18:07:23.930897Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 66 sessionId: sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0 grpc closed
2025-10-26T18:07:23.930913Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 66 sessionId: sid_rand_55|e9c3ade7-39b3107a-fddbf3ac-e964b6e4_0 is DEAD
2025-10-26T18:07:23.931722Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.931819Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.931837Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 67
2025-10-26T18:07:23.932768Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 67 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_56" }
2025-10-26T18:07:23.932887Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 67 topic: "topic1" message_group_id: "sid_rand_56" from ipv6:[::1]:60696
2025-10-26T18:07:23.932900Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=67 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.932912Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.934541Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 67 sessionId:  describe result for acl check
2025-10-26T18:07:23.934702Z node 11 :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:23.934716Z node 11 :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:23.934731Z node 11 :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:23.934754Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.937273Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.945602Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.946264Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959150:4396] connected; active server actors: 1
2025-10-26T18:07:23.946877Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_56
2025-10-26T18:07:23.946915Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.947500Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959150:4396] disconnected; active server actors: 1
2025-10-26T18:07:23.947535Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959150:4396] disconnected no session
2025-10-26T18:07:23.960066Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.960128Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-26T18:07:23.960153Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959133:4396] (SourceId=sid_rand_56, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.960186Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 67 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-26T18:07:23.961161Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.961378Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_56
2025-10-26T18:07:23.961918Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 67 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.964055Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 67 sessionId: sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.964089Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 67 sessionId: sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0 grpc read failed
2025-10-26T18:07:23.964392Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.964415Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 68
2025-10-26T18:07:23.964469Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 67 sessionId: sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0
2025-10-26T18:07:23.964494Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 67 sessionId: sid_rand_56|b3f8fbb5-b429215f-4dbd14b2-37defa05_0 is DEAD
2025-10-26T18:07:23.964750Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 68 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_57" }
2025-10-26T18:07:23.964892Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 68 topic: "topic1" message_group_id: "sid_rand_57" from ipv6:[::1]:60696
2025-10-26T18:07:23.964910Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=68 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.964922Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.965027Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.966875Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 68 sessionId:  describe result for acl check
2025-10-26T18:07:23.967048Z node 11 :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:23.967067Z node 11 :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:23.967082Z node 11 :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:23.967105Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.969803Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:23.977658Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:23.978525Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959178:4366] connected; active server actors: 1
2025-10-26T18:07:23.979921Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Received partition 4 from PQRB for SourceId=sid_rand_57
2025-10-26T18:07:23.979956Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:23.980454Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959178:4366] disconnected; active server actors: 1
2025-10-26T18:07:23.980488Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593669484959178:4366] disconnected no session
2025-10-26T18:07:23.989536Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:23.989594Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) ReplyResult: Partition=4, SeqNo=(NULL)
2025-10-26T18:07:23.989619Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959163:4366] (SourceId=sid_rand_57, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:23.989659Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 68 sessionId:  partition: 4 expectedGeneration: (NULL)
2025-10-26T18:07:23.990447Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:23.990688Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0 generated for partition 4 topic 'rt3.dc1--topic1' owner sid_rand_57
2025-10-26T18:07:23.991213Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 68 partition: 4 MaxSeqNo: 0 sessionId: sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0" topic: "topic1" cluster: "dc1" partition_id: 4 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:23.992847Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 68 sessionId: sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0 grpc read done: success: 0 data: 
2025-10-26T18:07:23.992872Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 68 sessionId: sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0 grpc read failed
2025-10-26T18:07:23.992911Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 68 sessionId: sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0
2025-10-26T18:07:23.992934Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 68 sessionId: sid_rand_57|f0d5ac5f-bd34aa6e-9214ae7b-773eb5c1_0 is DEAD
2025-10-26T18:07:23.993362Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=4) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:23.993758Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:23.993776Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 69
2025-10-26T18:07:23.994106Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 69 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_58" }
2025-10-26T18:07:23.994256Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 69 topic: "topic1" message_group_id: "sid_rand_58" from ipv6:[::1]:60696
2025-10-26T18:07:23.994281Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=69 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:23.994294Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:23.995692Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 69 sessionId:  describe result for acl check
2025-10-26T18:07:23.995819Z node 11 :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:23.995829Z node 11 :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:23.995840Z node 11 :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:23.995856Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:23.998445Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.004033Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.004556Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926502:4389] connected; active server actors: 1
2025-10-26T18:07:24.004997Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Received partition 5 from PQRB for SourceId=sid_rand_58
2025-10-26T18:07:24.005032Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.005472Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926502:4389] disconnected; active server actors: 1
2025-10-26T18:07:24.005509Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926502:4389] disconnected no session
2025-10-26T18:07:24.016669Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.016734Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) ReplyResult: Partition=5, SeqNo=(NULL)
2025-10-26T18:07:24.016757Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593669484959191:4389] (SourceId=sid_rand_58, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.016794Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 69 sessionId:  partition: 5 expectedGeneration: (NULL)
2025-10-26T18:07:24.017946Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:24.018196Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0 generated for partition 5 topic 'rt3.dc1--topic1' owner sid_rand_58
2025-10-26T18:07:24.018743Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 69 partition: 5 MaxSeqNo: 0 sessionId: sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0" topic: "topic1" cluster: "dc1" partition_id: 5 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.020291Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 69 sessionId: sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.020309Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 69 sessionId: sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0 grpc read failed
2025-10-26T18:07:24.020331Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 69 sessionId: sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0 grpc closed
2025-10-26T18:07:24.020348Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 69 sessionId: sid_rand_58|a13de4ef-5a2f5849-eaf70c2e-f9875ada_0 is DEAD
2025-10-26T18:07:24.020997Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.021024Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 70
2025-10-26T18:07:24.021067Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=5) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.021328Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 70 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_59" }
2025-10-26T18:07:24.021429Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 70 topic: "topic1" message_group_id: "sid_rand_59" from ipv6:[::1]:60696
2025-10-26T18:07:24.021448Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=70 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.021458Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.022996Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 70 sessionId:  describe result for acl check
2025-10-26T18:07:24.023156Z node 11 :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:24.023174Z node 11 :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:24.023189Z node 11 :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:24.023212Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.027088Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.034575Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.035691Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Received partition 6 from PQRB for SourceId=sid_rand_59
2025-10-26T18:07:24.035721Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.035265Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926533:4374] connected; active server actors: 1
2025-10-26T18:07:24.036423Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926533:4374] disconnected; active server actors: 1
2025-10-26T18:07:24.036444Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926533:4374] disconnected no session
2025-10-26T18:07:24.047252Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.047315Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) ReplyResult: Partition=6, SeqNo=(NULL)
2025-10-26T18:07:24.047340Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926515:4374] (SourceId=sid_rand_59, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.047378Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 70 sessionId:  partition: 6 expectedGeneration: (NULL)
2025-10-26T18:07:24.048370Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.049743Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 70 partition: 6 MaxSeqNo: 0 sessionId: sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0
2025-10-26T18:07:24.048655Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0 generated for partition 6 topic 'rt3.dc1--topic1' owner sid_rand_59
Init result: { status: SUCCESS init_response { session_id: "sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0" topic: "topic1" cluster: "dc1" partition_id: 6 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.051956Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 70 sessionId: sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.051990Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 70 sessionId: sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0 grpc read failed
2025-10-26T18:07:24.052392Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 70 sessionId: sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0
2025-10-26T18:07:24.052435Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 70 sessionId: sid_rand_59|ceac818-9dc8c3e4-ea018841-b94b9476_0 is DEAD
2025-10-26T18:07:24.052901Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=6) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.053380Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.053407Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 71
2025-10-26T18:07:24.053894Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 71 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_60" }
2025-10-26T18:07:24.054074Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 71 topic: "topic1" message_group_id: "sid_rand_60" from ipv6:[::1]:60696
2025-10-26T18:07:24.054092Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=71 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.054116Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.056392Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 71 sessionId:  describe result for acl check
2025-10-26T18:07:24.056594Z node 11 :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:24.056608Z node 11 :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:24.056622Z node 11 :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:24.056646Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.060255Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.071070Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.071666Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926560:4348] connected; active server actors: 1
2025-10-26T18:07:24.072079Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Received partition 7 from PQRB for SourceId=sid_rand_60
2025-10-26T18:07:24.072115Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.072788Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926560:4348] disconnected; active server actors: 1
2025-10-26T18:07:24.072824Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926560:4348] disconnected no session
2025-10-26T18:07:24.084666Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.084727Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) ReplyResult: Partition=7, SeqNo=(NULL)
2025-10-26T18:07:24.084753Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926545:4348] (SourceId=sid_rand_60, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.084789Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 71 sessionId:  partition: 7 expectedGeneration: (NULL)
2025-10-26T18:07:24.086091Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:24.086242Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0 generated for partition 7 topic 'rt3.dc1--topic1' owner sid_rand_60
Init result: { status: SUCCESS init_response { session_id: "sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0" topic: "topic1" cluster: "dc1" partition_id: 7 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.086775Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 71 partition: 7 MaxSeqNo: 0 sessionId: sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0
2025-10-26T18:07:24.089610Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 71 sessionId: sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.089641Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 71 sessionId: sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0 grpc read failed
2025-10-26T18:07:24.089673Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 71 sessionId: sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0 grpc closed
2025-10-26T18:07:24.089712Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 71 sessionId: sid_rand_60|b4e2671-cdc07d13-8629c5bd-8fc1aa18_0 is DEAD
2025-10-26T18:07:24.090034Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.090061Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 72
2025-10-26T18:07:24.090511Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 72 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_61" }
2025-10-26T18:07:24.090666Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 72 topic: "topic1" message_group_id: "sid_rand_61" from ipv6:[::1]:60696
2025-10-26T18:07:24.090686Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=72 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.090700Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.090906Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=7) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.092797Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 72 sessionId:  describe result for acl check
2025-10-26T18:07:24.093007Z node 11 :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:24.093023Z node 11 :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:24.093038Z node 11 :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:24.093061Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.097420Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.110229Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926590:4366] connected; active server actors: 1
2025-10-26T18:07:24.112470Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926590:4366] disconnected; active server actors: 1
2025-10-26T18:07:24.112514Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926590:4366] disconnected no session
2025-10-26T18:07:24.108886Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.111464Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Received partition 8 from PQRB for SourceId=sid_rand_61
2025-10-26T18:07:24.111502Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.124341Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.124410Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) ReplyResult: Partition=8, SeqNo=(NULL)
2025-10-26T18:07:24.124434Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926573:4366] (SourceId=sid_rand_61, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.124474Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 72 sessionId:  partition: 8 expectedGeneration: (NULL)
2025-10-26T18:07:24.129956Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.130341Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0 generated for partition 8 topic 'rt3.dc1--topic1' owner sid_rand_61
2025-10-26T18:07:24.137963Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 72 partition: 8 MaxSeqNo: 0 sessionId: sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0" topic: "topic1" cluster: "dc1" partition_id: 8 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.145760Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.145776Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 72 sessionId: sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.145798Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 72 sessionId: sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0 grpc read failed
2025-10-26T18:07:24.145802Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 73
2025-10-26T18:07:24.145829Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 72 sessionId: sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0 grpc closed
2025-10-26T18:07:24.145850Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 72 sessionId: sid_rand_61|952c9a0a-84fd137c-8f58d9ac-7b37e864_0 is DEAD
2025-10-26T18:07:24.146833Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=8) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.153502Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 73 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_62" }
2025-10-26T18:07:24.153746Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 73 topic: "topic1" message_group_id: "sid_rand_62" from ipv6:[::1]:60696
2025-10-26T18:07:24.153786Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=73 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.153800Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.155813Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 73 sessionId:  describe result for acl check
2025-10-26T18:07:24.155995Z node 11 :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:24.156011Z node 11 :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:24.156026Z node 11 :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:24.156050Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.159451Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.174470Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926622:4373] connected; active server actors: 1
2025-10-26T18:07:24.176124Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926622:4373] disconnected; active server actors: 1
2025-10-26T18:07:24.176162Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926622:4373] disconnected no session
2025-10-26T18:07:24.173734Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.174969Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Received partition 9 from PQRB for SourceId=sid_rand_62
2025-10-26T18:07:24.174997Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.186116Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.186184Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) ReplyResult: Partition=9, SeqNo=(NULL)
2025-10-26T18:07:24.186222Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926604:4373] (SourceId=sid_rand_62, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.186263Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 73 sessionId:  partition: 9 expectedGeneration: (NULL)
2025-10-26T18:07:24.187198Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:24.187488Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0 generated for partition 9 topic 'rt3.dc1--topic1' owner sid_rand_62
2025-10-26T18:07:24.188164Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 73 partition: 9 MaxSeqNo: 0 sessionId: sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0" topic: "topic1" cluster: "dc1" partition_id: 9 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.192122Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 73 sessionId: sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.192161Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 73 sessionId: sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0 grpc read failed
2025-10-26T18:07:24.192205Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 73 sessionId: sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0 grpc closed
2025-10-26T18:07:24.192240Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 73 sessionId: sid_rand_62|ced3bdbd-e374d1c8-2178cd3c-8d95d1a6_0 is DEAD
2025-10-26T18:07:24.193634Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=9) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.193772Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.193794Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 74
2025-10-26T18:07:24.194308Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 74 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_63" }
2025-10-26T18:07:24.194471Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 74 topic: "topic1" message_group_id: "sid_rand_63" from ipv6:[::1]:60696
2025-10-26T18:07:24.194492Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=74 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.194506Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.196828Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 74 sessionId:  describe result for acl check
2025-10-26T18:07:24.197035Z node 11 :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:24.197051Z node 11 :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:24.197066Z node 11 :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:24.197092Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.200566Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.214686Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.218210Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926650:4397] connected; active server actors: 1
2025-10-26T18:07:24.218831Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Received partition 10 from PQRB for SourceId=sid_rand_63
2025-10-26T18:07:24.218876Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.220013Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926650:4397] disconnected; active server actors: 1
2025-10-26T18:07:24.220059Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926650:4397] disconnected no session
2025-10-26T18:07:24.232890Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.232967Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) ReplyResult: Partition=10, SeqNo=(NULL)
2025-10-26T18:07:24.232990Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926635:4397] (SourceId=sid_rand_63, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.233027Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 74 sessionId:  partition: 10 expectedGeneration: (NULL)
2025-10-26T18:07:24.233954Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.234194Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0 generated for partition 10 topic 'rt3.dc1--topic1' owner sid_rand_63
2025-10-26T18:07:24.234733Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 74 partition: 10 MaxSeqNo: 0 sessionId: sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0" topic: "topic1" cluster: "dc1" partition_id: 10 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.239878Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 74 sessionId: sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.239914Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 74 sessionId: sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0 grpc read failed
2025-10-26T18:07:24.239965Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 74 sessionId: sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0 grpc closed
2025-10-26T18:07:24.239991Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 74 sessionId: sid_rand_63|1244a02b-8b64892-b83c44af-bfce76bb_0 is DEAD
2025-10-26T18:07:24.240455Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.240484Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 75
2025-10-26T18:07:24.241097Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=10) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.241703Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 75 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_64" }
2025-10-26T18:07:24.241875Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 75 topic: "topic1" message_group_id: "sid_rand_64" from ipv6:[::1]:60696
2025-10-26T18:07:24.241897Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=75 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.241911Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.243925Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 75 sessionId:  describe result for acl check
2025-10-26T18:07:24.244121Z node 11 :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:24.244148Z node 11 :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:24.244185Z node 11 :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:24.244211Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.247779Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.257068Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.258630Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926678:4362] connected; active server actors: 1
2025-10-26T18:07:24.258889Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Received partition 11 from PQRB for SourceId=sid_rand_64
2025-10-26T18:07:24.258933Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.259610Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926678:4362] disconnected; active server actors: 1
2025-10-26T18:07:24.259664Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926678:4362] disconnected no session
2025-10-26T18:07:24.272310Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.272399Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) ReplyResult: Partition=11, SeqNo=(NULL)
2025-10-26T18:07:24.272425Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926663:4362] (SourceId=sid_rand_64, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.272466Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 75 sessionId:  partition: 11 expectedGeneration: (NULL)
2025-10-26T18:07:24.273187Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.273397Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0 generated for partition 11 topic 'rt3.dc1--topic1' owner sid_rand_64
2025-10-26T18:07:24.274150Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 75 partition: 11 MaxSeqNo: 0 sessionId: sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0" topic: "topic1" cluster: "dc1" partition_id: 11 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.276170Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 75 sessionId: sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.276198Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 75 sessionId: sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0 grpc read failed
2025-10-26T18:07:24.276683Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 75 sessionId: sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0
2025-10-26T18:07:24.276721Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 75 sessionId: sid_rand_64|97f9289c-89ffbce0-4ef4e2a6-9c8264cb_0 is DEAD
2025-10-26T18:07:24.277280Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=11) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.277449Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.277470Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 76
2025-10-26T18:07:24.277974Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 76 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_65" }
2025-10-26T18:07:24.278155Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 76 topic: "topic1" message_group_id: "sid_rand_65" from ipv6:[::1]:60696
2025-10-26T18:07:24.278184Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=76 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.278197Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.280155Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 76 sessionId:  describe result for acl check
2025-10-26T18:07:24.280376Z node 11 :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:24.280394Z node 11 :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:24.280412Z node 11 :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:24.280436Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.283620Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.290794Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.291388Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926710:4334] connected; active server actors: 1
2025-10-26T18:07:24.291904Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Received partition 12 from PQRB for SourceId=sid_rand_65
2025-10-26T18:07:24.291938Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.292443Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926710:4334] disconnected; active server actors: 1
2025-10-26T18:07:24.292485Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926710:4334] disconnected no session
2025-10-26T18:07:24.304739Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.304808Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) ReplyResult: Partition=12, SeqNo=(NULL)
2025-10-26T18:07:24.304834Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926695:4334] (SourceId=sid_rand_65, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.304873Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 76 sessionId:  partition: 12 expectedGeneration: (NULL)
Init result: { status: SUCCESS init_response { session_id: "sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0" topic: "topic1" cluster: "dc1" partition_id: 12 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.305647Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.305816Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0 generated for partition 12 topic 'rt3.dc1--topic1' owner sid_rand_65
2025-10-26T18:07:24.306789Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 76 partition: 12 MaxSeqNo: 0 sessionId: sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0
2025-10-26T18:07:24.365042Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 76 sessionId: sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.365080Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 76 sessionId: sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0 grpc read failed
2025-10-26T18:07:24.365104Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.365116Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 76 sessionId: sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0 grpc closed
2025-10-26T18:07:24.365134Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 77
2025-10-26T18:07:24.365140Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 76 sessionId: sid_rand_65|4f15190-3da239af-5bf445e-f584721f_0 is DEAD
2025-10-26T18:07:24.366166Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=12) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.366765Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 77 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_66" }
2025-10-26T18:07:24.366941Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 77 topic: "topic1" message_group_id: "sid_rand_66" from ipv6:[::1]:60696
2025-10-26T18:07:24.366962Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=77 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.366975Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.369013Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 77 sessionId:  describe result for acl check
2025-10-26T18:07:24.369205Z node 11 :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:24.369217Z node 11 :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:24.369228Z node 11 :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:24.369245Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.371927Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.379050Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.380224Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Received partition 13 from PQRB for SourceId=sid_rand_66
2025-10-26T18:07:24.380266Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.379742Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926743:4351] connected; active server actors: 1
2025-10-26T18:07:24.381045Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926743:4351] disconnected; active server actors: 1
2025-10-26T18:07:24.381077Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926743:4351] disconnected no session
2025-10-26T18:07:24.390950Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.390996Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) ReplyResult: Partition=13, SeqNo=(NULL)
2025-10-26T18:07:24.391015Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926725:4351] (SourceId=sid_rand_66, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.391042Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 77 sessionId:  partition: 13 expectedGeneration: (NULL)
2025-10-26T18:07:24.392089Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.392274Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0 generated for partition 13 topic 'rt3.dc1--topic1' owner sid_rand_66
2025-10-26T18:07:24.392657Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 77 partition: 13 MaxSeqNo: 0 sessionId: sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0" topic: "topic1" cluster: "dc1" partition_id: 13 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.394255Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 77 sessionId: sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.394284Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 77 sessionId: sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0 grpc read failed
2025-10-26T18:07:24.394312Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 77 sessionId: sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0 grpc closed
2025-10-26T18:07:24.394336Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 77 sessionId: sid_rand_66|b34fd43c-866a6b4a-c33f6e74-e52aadcc_0 is DEAD
2025-10-26T18:07:24.395359Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=13) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.395460Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.395482Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 78
2025-10-26T18:07:24.395795Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 78 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_67" }
2025-10-26T18:07:24.395897Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 78 topic: "topic1" message_group_id: "sid_rand_67" from ipv6:[::1]:60696
2025-10-26T18:07:24.395912Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=78 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.395920Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.397281Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 78 sessionId:  describe result for acl check
2025-10-26T18:07:24.397430Z node 11 :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:24.397450Z node 11 :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:24.397463Z node 11 :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:24.397485Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.399944Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.408412Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.409143Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926771:4374] connected; active server actors: 1
2025-10-26T18:07:24.409654Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_67
2025-10-26T18:07:24.409698Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.410354Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926771:4374] disconnected; active server actors: 1
2025-10-26T18:07:24.410383Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926771:4374] disconnected no session
2025-10-26T18:07:24.424293Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.424365Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:24.424392Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926756:4374] (SourceId=sid_rand_67, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.424431Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 78 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:24.425724Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.426063Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_67
Init result: { status: SUCCESS init_response { session_id: "sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.426645Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 78 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0
2025-10-26T18:07:24.429418Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 78 sessionId: sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.429443Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 78 sessionId: sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0 grpc read failed
2025-10-26T18:07:24.429470Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 78 sessionId: sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0 grpc closed
2025-10-26T18:07:24.429491Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 78 sessionId: sid_rand_67|f86a8c98-6d87d83b-46d7e4d7-3f8ee8bc_0 is DEAD
2025-10-26T18:07:24.430484Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.430670Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.430694Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 79
2025-10-26T18:07:24.431875Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 79 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_68" }
2025-10-26T18:07:24.432033Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 79 topic: "topic1" message_group_id: "sid_rand_68" from ipv6:[::1]:60696
2025-10-26T18:07:24.432054Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=79 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.432070Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.434563Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 79 sessionId:  describe result for acl check
2025-10-26T18:07:24.434757Z node 11 :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:24.434774Z node 11 :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:24.434787Z node 11 :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:24.434810Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.438911Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.447245Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.447992Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926806:4383] connected; active server actors: 1
2025-10-26T18:07:24.448380Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_68
2025-10-26T18:07:24.448413Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.449062Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926806:4383] disconnected; active server actors: 1
2025-10-26T18:07:24.449096Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926806:4383] disconnected no session
2025-10-26T18:07:24.457715Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.457790Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:24.457818Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926789:4383] (SourceId=sid_rand_68, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.457864Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 79 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:24.459170Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.459353Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_68
2025-10-26T18:07:24.460358Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 79 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.462939Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 79 sessionId: sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.462946Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.462962Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 79 sessionId: sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0 grpc read failed
2025-10-26T18:07:24.462970Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 80
2025-10-26T18:07:24.462984Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 79 sessionId: sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0 grpc closed
2025-10-26T18:07:24.463004Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 79 sessionId: sid_rand_68|4281cc42-6426aaea-aac69a6d-47efe018_0 is DEAD
2025-10-26T18:07:24.463291Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 80 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_69" }
2025-10-26T18:07:24.463436Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 80 topic: "topic1" message_group_id: "sid_rand_69" from ipv6:[::1]:60696
2025-10-26T18:07:24.463466Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=80 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.463480Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.464076Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.465109Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 80 sessionId:  describe result for acl check
2025-10-26T18:07:24.465233Z node 11 :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:24.465245Z node 11 :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:24.465255Z node 11 :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:24.465272Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.468033Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.474259Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.474841Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926833:4348] connected; active server actors: 1
2025-10-26T18:07:24.475383Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_69
2025-10-26T18:07:24.475411Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.475862Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926833:4348] disconnected; active server actors: 1
2025-10-26T18:07:24.475887Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926833:4348] disconnected no session
2025-10-26T18:07:24.484024Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.484086Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:24.484111Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926818:4348] (SourceId=sid_rand_69, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.484144Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 80 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:24.485185Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.485407Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_69
2025-10-26T18:07:24.486384Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 80 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.488100Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 80 sessionId: sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.488130Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 80 sessionId: sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0 grpc read failed
2025-10-26T18:07:24.488397Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.488433Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 81
2025-10-26T18:07:24.488510Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 80 sessionId: sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0
2025-10-26T18:07:24.488545Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 80 sessionId: sid_rand_69|d78c993e-20e78159-a8d967c4-75e49cbf_0 is DEAD
2025-10-26T18:07:24.488711Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 81 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_70" }
2025-10-26T18:07:24.488860Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 81 topic: "topic1" message_group_id: "sid_rand_70" from ipv6:[::1]:60696
2025-10-26T18:07:24.488882Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=81 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.488893Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.489035Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.490584Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 81 sessionId:  describe result for acl check
2025-10-26T18:07:24.490748Z node 11 :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:24.490768Z node 11 :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:24.490787Z node 11 :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:24.490810Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.493794Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.501117Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.501720Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926860:4375] connected; active server actors: 1
2025-10-26T18:07:24.502125Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Received partition 2 from PQRB for SourceId=sid_rand_70
2025-10-26T18:07:24.502160Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.502774Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926860:4375] disconnected; active server actors: 1
2025-10-26T18:07:24.502814Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926860:4375] disconnected no session
2025-10-26T18:07:24.516577Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.516646Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) ReplyResult: Partition=2, SeqNo=(NULL)
2025-10-26T18:07:24.516675Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926845:4375] (SourceId=sid_rand_70, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.516732Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 81 sessionId:  partition: 2 expectedGeneration: (NULL)
2025-10-26T18:07:24.517678Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) TEvClientConnected Status OK, TabletId: 72075186224037893, NodeId 11, Generation: 1
2025-10-26T18:07:24.517848Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0 generated for partition 2 topic 'rt3.dc1--topic1' owner sid_rand_70
2025-10-26T18:07:24.518476Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 81 partition: 2 MaxSeqNo: 0 sessionId: sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0" topic: "topic1" cluster: "dc1" partition_id: 2 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.522978Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 81 sessionId: sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.523008Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 81 sessionId: sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0 grpc read failed
2025-10-26T18:07:24.523039Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 81 sessionId: sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0 grpc closed
2025-10-26T18:07:24.523061Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 81 sessionId: sid_rand_70|193e6cb-443ccaaa-db3e2ca5-a56c1048_0 is DEAD
2025-10-26T18:07:24.524047Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037893 (partition=2) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.524137Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.524158Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 82
2025-10-26T18:07:24.524809Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 82 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_71" }
2025-10-26T18:07:24.524968Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 82 topic: "topic1" message_group_id: "sid_rand_71" from ipv6:[::1]:60696
2025-10-26T18:07:24.524990Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=82 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.525004Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.527159Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 82 sessionId:  describe result for acl check
2025-10-26T18:07:24.527353Z node 11 :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:24.527369Z node 11 :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:24.527386Z node 11 :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:24.527409Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.530872Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.539272Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.539959Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926891:4398] connected; active server actors: 1
2025-10-26T18:07:24.540602Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Received partition 3 from PQRB for SourceId=sid_rand_71
2025-10-26T18:07:24.540635Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.541320Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926891:4398] disconnected; active server actors: 1
2025-10-26T18:07:24.541356Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926891:4398] disconnected no session
2025-10-26T18:07:24.557491Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.557552Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) ReplyResult: Partition=3, SeqNo=(NULL)
2025-10-26T18:07:24.557580Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926873:4398] (SourceId=sid_rand_71, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.557621Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 82 sessionId:  partition: 3 expectedGeneration: (NULL)
2025-10-26T18:07:24.560128Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.560634Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0 generated for partition 3 topic 'rt3.dc1--topic1' owner sid_rand_71
2025-10-26T18:07:24.561787Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 82 partition: 3 MaxSeqNo: 0 sessionId: sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0" topic: "topic1" cluster: "dc1" partition_id: 3 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.563983Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 82 sessionId: sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.564009Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 82 sessionId: sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0 grpc read failed
2025-10-26T18:07:24.564472Z node 11 :PQ_WRITE_PROXY INFO: session v1 closed cookie: 82 sessionId: sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0
2025-10-26T18:07:24.564504Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 82 sessionId: sid_rand_71|bdc36f00-88913ef-78d0ebb4-f4e3110c_0 is DEAD
2025-10-26T18:07:24.564944Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=3) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.567786Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.567819Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 83
2025-10-26T18:07:24.568328Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 83 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_72" }
2025-10-26T18:07:24.568477Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 83 topic: "topic1" message_group_id: "sid_rand_72" from ipv6:[::1]:60696
2025-10-26T18:07:24.568499Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=83 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.568513Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.570593Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 83 sessionId:  describe result for acl check
2025-10-26T18:07:24.570783Z node 11 :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:24.570799Z node 11 :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:24.570815Z node 11 :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:24.570838Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.575715Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.585431Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.585977Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926918:4337] connected; active server actors: 1
2025-10-26T18:07:24.586588Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Received partition 14 from PQRB for SourceId=sid_rand_72
2025-10-26T18:07:24.586623Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.587250Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926918:4337] disconnected; active server actors: 1
2025-10-26T18:07:24.587290Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926918:4337] disconnected no session
2025-10-26T18:07:24.606335Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.606405Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) ReplyResult: Partition=14, SeqNo=(NULL)
2025-10-26T18:07:24.606429Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926903:4337] (SourceId=sid_rand_72, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.606464Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 83 sessionId:  partition: 14 expectedGeneration: (NULL)
2025-10-26T18:07:24.607104Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) TEvClientConnected Status OK, TabletId: 72075186224037895, NodeId 11, Generation: 1
2025-10-26T18:07:24.607238Z node 11 :PERSQUEUE INFO: new Cookie sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0 generated for partition 14 topic 'rt3.dc1--topic1' owner sid_rand_72
2025-10-26T18:07:24.607670Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 83 partition: 14 MaxSeqNo: 0 sessionId: sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0" topic: "topic1" cluster: "dc1" partition_id: 14 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.609537Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 83 sessionId: sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.609558Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 83 sessionId: sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0 grpc read failed
2025-10-26T18:07:24.609579Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 83 sessionId: sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0 grpc closed
2025-10-26T18:07:24.609595Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 83 sessionId: sid_rand_72|143ab98d-8eb0055b-ae6fee27-f14d423a_0 is DEAD
2025-10-26T18:07:24.610033Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.610062Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 84
2025-10-26T18:07:24.610598Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037895 (partition=14) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.611190Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 84 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_73" }
2025-10-26T18:07:24.611376Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 84 topic: "topic1" message_group_id: "sid_rand_73" from ipv6:[::1]:60696
2025-10-26T18:07:24.611403Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=84 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.611416Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.613543Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 84 sessionId:  describe result for acl check
2025-10-26T18:07:24.613735Z node 11 :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:24.613756Z node 11 :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:24.613771Z node 11 :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:24.613793Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.616894Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.623133Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.623729Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926950:4365] connected; active server actors: 1
2025-10-26T18:07:24.624203Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Received partition 0 from PQRB for SourceId=sid_rand_73
2025-10-26T18:07:24.624232Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.624741Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926950:4365] disconnected; active server actors: 1
2025-10-26T18:07:24.624772Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926950:4365] disconnected no session
2025-10-26T18:07:24.636529Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.636587Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) ReplyResult: Partition=0, SeqNo=(NULL)
2025-10-26T18:07:24.636611Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926935:4365] (SourceId=sid_rand_73, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.636651Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 84 sessionId:  partition: 0 expectedGeneration: (NULL)
2025-10-26T18:07:24.638468Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.638920Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0 generated for partition 0 topic 'rt3.dc1--topic1' owner sid_rand_73
2025-10-26T18:07:24.640151Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 84 partition: 0 MaxSeqNo: 0 sessionId: sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0" topic: "topic1" cluster: "dc1" supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
2025-10-26T18:07:24.642566Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 84 sessionId: sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.642600Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 84 sessionId: sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0 grpc read failed
2025-10-26T18:07:24.642629Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 84 sessionId: sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0 grpc closed
2025-10-26T18:07:24.642652Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 84 sessionId: sid_rand_73|ccb4bce3-9f9fb9ca-2b8e64e8-567452ba_0 is DEAD
2025-10-26T18:07:24.642670Z node 11 :PQ_WRITE_PROXY DEBUG: new grpc connection
2025-10-26T18:07:24.642695Z node 11 :PQ_WRITE_PROXY DEBUG: new session created cookie 85
2025-10-26T18:07:24.643317Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 85 sessionId:  grpc read done: success: 1 data: init_request { topic: "topic1" message_group_id: "sid_rand_74" }
2025-10-26T18:07:24.643479Z node 11 :PQ_WRITE_PROXY INFO: session request cookie: 85 topic: "topic1" message_group_id: "sid_rand_74" from ipv6:[::1]:60696
2025-10-26T18:07:24.643509Z node 11 :PQ_WRITE_PROXY INFO: write session:  cookie=85 sessionId= userAgent="pqv1 server" ip=ipv6:[::1]:60696 proto=v1  topic=topic1 durationSec=0
2025-10-26T18:07:24.643522Z node 11 :PQ_WRITE_PROXY INFO: init check schema
2025-10-26T18:07:24.643809Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=0) Received event: NActors::TEvents::TEvPoison
2025-10-26T18:07:24.645586Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 85 sessionId:  describe result for acl check
2025-10-26T18:07:24.645797Z node 11 :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:24.645815Z node 11 :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:24.645830Z node 11 :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:24.645854Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) StartKqpSession
2025-10-26T18:07:24.649150Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Select from the table
2025-10-26T18:07:24.659054Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) RequestPQRB
2025-10-26T18:07:24.660003Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Received partition 1 from PQRB for SourceId=sid_rand_74
2025-10-26T18:07:24.660034Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Update the table
2025-10-26T18:07:24.659622Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926977:4334] connected; active server actors: 1
2025-10-26T18:07:24.660636Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926977:4334] disconnected; active server actors: 1
2025-10-26T18:07:24.660666Z node 12 :PERSQUEUE_READ_BALANCER INFO: balancer: [72075186224037894] topic rt3.dc1--topic1 pipe [11:7565593673779926977:4334] disconnected no session
2025-10-26T18:07:24.674597Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) HandleUpdate PartitionPersisted=0 Status=SUCCESS
2025-10-26T18:07:24.674644Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) ReplyResult: Partition=1, SeqNo=(NULL)
2025-10-26T18:07:24.674664Z node 11 :PQ_PARTITION_CHOOSER DEBUG: TPartitionChooser [11:7565593673779926962:4334] (SourceId=sid_rand_74, PreferedPartition=(NULL)) Start idle
2025-10-26T18:07:24.674691Z node 11 :PQ_WRITE_PROXY DEBUG: ProceedPartition. session cookie: 85 sessionId:  partition: 1 expectedGeneration: (NULL)
2025-10-26T18:07:24.675796Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) TEvClientConnected Status OK, TabletId: 72075186224037892, NodeId 12, Generation: 1
2025-10-26T18:07:24.676058Z node 12 :PERSQUEUE INFO: new Cookie sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0 generated for partition 1 topic 'rt3.dc1--topic1' owner sid_rand_74
2025-10-26T18:07:24.677015Z node 11 :PQ_WRITE_PROXY INFO: session inited cookie: 85 partition: 1 MaxSeqNo: 0 sessionId: sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0
Init result: { status: SUCCESS init_response { session_id: "sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0" topic: "topic1" cluster: "dc1" partition_id: 1 supported_codecs: CODEC_RAW supported_codecs: CODEC_GZIP supported_codecs: CODEC_LZOP } }
Round robin check: 0:6
Round robin check: 1:6
Round robin check: 2:5
Round robin check: 3:4
Round robin check: 4:4
Round robin check: 5:4
Round robin check: 6:5
Round robin check: 7:5
Round robin check: 8:5
Round robin check: 9:5
Round robin check: 10:5
Round robin check: 11:5
Round robin check: 12:5
Round robin check: 13:5
Round robin check: 14:6
2025-10-26T18:07:24.679697Z node 11 :PQ_WRITE_PROXY DEBUG: session v1 cookie: 85 sessionId: sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0 grpc read done: success: 0 data: 
2025-10-26T18:07:24.679723Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 85 sessionId: sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0 grpc read failed
2025-10-26T18:07:24.679749Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 85 sessionId: sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0 grpc closed
2025-10-26T18:07:24.679770Z node 11 :PQ_WRITE_PROXY INFO: session v1 cookie: 85 sessionId: sid_rand_74|11ede98d-d93ed484-f593b425-34fc682f_0 is DEAD
2025-10-26T18:07:24.680658Z node 11 :PQ_WRITE_PROXY DEBUG: TPartitionWriter 72075186224037892 (partition=1) Received event: NActors::TEvents::TEvPoison
