2025-12-12T12:00:26.614565Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T12:00:26.614751Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T12:00:26.614785Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T12:00:26.616595Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T12:00:26.616612Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T12:00:26.616618Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T12:00:26.616876Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T12:00:26.616930Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_37/topic_A" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T12:00:26.617088Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T12:00:26.624248Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.624289Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540826624 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T12:00:26.624321Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0"
2025-12-12T12:00:26.624402Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3fncnk5e4zbv0rzfkp4}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.625331Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T12:00:26.626176Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.626190Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T12:00:26.628971Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=2, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3fncnk5e4zbv0rzfkp4}, WriteCount=2, AckCount=0
2025-12-12T12:00:26.628990Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T12:00:26.629010Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.629016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T12:00:26.651581Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.651641Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written_in_tx { } } write_statistics { persisting_time { nanos: 7000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.651660Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3fncnk5e4zbv0rzfkp4}, WriteCount=2, AckCount=1
2025-12-12T12:00:26.651664Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T12:00:26.652888Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.652927Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 2 written_in_tx { } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { nanos: 10000000 } max_queue_wait_time { nanos: 10000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.652938Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3fncnk5e4zbv0rzfkp4}, WriteCount=2, AckCount=2
2025-12-12T12:00:26.653202Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T12:00:26.666031Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=3, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3h8avm7gg22d81gsnqm}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.666842Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 3 to 3
2025-12-12T12:00:26.667700Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.667710Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 3
2025-12-12T12:00:26.670527Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=4, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3h8avm7gg22d81gsnqm}, WriteCount=2, AckCount=0
2025-12-12T12:00:26.670546Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 4 to 4
2025-12-12T12:00:26.670567Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.670574Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 4
2025-12-12T12:00:26.692424Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.692480Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 3 written_in_tx { } } write_statistics { persisting_time { nanos: 13000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.692490Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnAck: seqNo=3, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3h8avm7gg22d81gsnqm}, WriteCount=2, AckCount=1
2025-12-12T12:00:26.692494Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 3
2025-12-12T12:00:26.693061Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.693096Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 4 written_in_tx { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { nanos: 3000000 } max_queue_wait_time { nanos: 3000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.693103Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] OnAck: seqNo=4, txId={ydb://session/3?node_id=1&id=ODA0MmYyY2YtMzVmYWMwYWQtZTdhYTM5YWUtZGEyMjc4MGE=, 01kc96y3h8avm7gg22d81gsnqm}, WriteCount=2, AckCount=2
2025-12-12T12:00:26.693351Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 4
2025-12-12T12:00:26.695072Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T12:00:26.695083Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T12:00:26.695087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T12:00:26.695210Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T12:00:26.695214Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1e649c64-bda345e4-3771404-8e4e2c11_0]  PartitionId [0]  Generation [1] Write session: destroy
