2025-12-12T11:55:39.878193Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T11:55:39.878400Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:55:39.878434Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:55:39.879852Z :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-12T11:55:39.879867Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:55:39.879872Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:55:39.880085Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:55:39.880118Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_30/topic_A" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:55:39.880248Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:55:39.889651Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:39.889673Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540539889 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:55:39.889704Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0"
2025-12-12T11:55:39.889788Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=N2Y4YTUwYWItM2MxM2M2NDItZmNmNzMwMDgtYWE2OTFkOTk=, 01kc96nbf43eyw96bhaqyjf3sa}, WriteCount=1, AckCount=0
2025-12-12T11:55:39.891075Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T11:55:39.891886Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:39.891896Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T11:55:39.924366Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:39.924440Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written_in_tx { } } write_statistics { persisting_time { nanos: 21000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:39.924453Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId={ydb://session/3?node_id=1&id=N2Y4YTUwYWItM2MxM2M2NDItZmNmNzMwMDgtYWE2OTFkOTk=, 01kc96nbf43eyw96bhaqyjf3sa}, WriteCount=1, AckCount=1
2025-12-12T11:55:39.924704Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:55:39.937713Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=2, txId={ydb://session/3?node_id=1&id=N2Y4YTUwYWItM2MxM2M2NDItZmNmNzMwMDgtYWE2OTFkOTk=, 01kc96nbh1ap8te4nzdxpqys8g}, WriteCount=1, AckCount=0
2025-12-12T11:55:39.937738Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T11:55:39.937760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:55:39.937765Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T11:55:39.942930Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:55:39.943001Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_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 { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:55:39.943015Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId={ydb://session/3?node_id=1&id=N2Y4YTUwYWItM2MxM2M2NDItZmNmNzMwMDgtYWE2OTFkOTk=, 01kc96nbh1ap8te4nzdxpqys8g}, WriteCount=1, AckCount=1
2025-12-12T11:55:39.943248Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T11:55:39.946558Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T11:55:39.946573Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:55:39.946580Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:55:39.946767Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:55:39.946774Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|bfab8508-54b2a174-8c1c1021-4bbd73f5_0]  PartitionId [0]  Generation [1] Write session: destroy
