2025-12-12T12:00:26.022327Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T12:00:26.022514Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T12:00:26.022539Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T12:00:26.023772Z :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.023786Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T12:00:26.023792Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T12:00:26.024026Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T12:00:26.024060Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_33/topic_A" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T12:00:26.024194Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T12:00:26.031051Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.031075Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540826031 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T12:00:26.031105Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0"
2025-12-12T12:00:26.031195Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=ZjhmNmNhZDItYTAyNmEwYWQtYTY4ZDYzZmEtYjQzMmQwZmE=, 01kc96y2x5a1v0dwzycea7p7sv}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.031228Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T12:00:26.031260Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.031266Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T12:00:26.035414Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.035491Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written_in_tx { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.035502Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId={ydb://session/3?node_id=1&id=ZjhmNmNhZDItYTAyNmEwYWQtYTY4ZDYzZmEtYjQzMmQwZmE=, 01kc96y2x5a1v0dwzycea7p7sv}, WriteCount=1, AckCount=1
2025-12-12T12:00:26.035757Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T12:00:26.047895Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=2, txId={ydb://session/3?node_id=1&id=ZjhmNmNhZDItYTAyNmEwYWQtYTY4ZDYzZmEtYjQzMmQwZmE=, 01kc96y2xz3m9vf16kgh6h5ddf}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.047916Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T12:00:26.047936Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.047939Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T12:00:26.051711Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.051777Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 2 written_in_tx { } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.051791Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId={ydb://session/3?node_id=1&id=ZjhmNmNhZDItYTAyNmEwYWQtYTY4ZDYzZmEtYjQzMmQwZmE=, 01kc96y2xz3m9vf16kgh6h5ddf}, WriteCount=1, AckCount=1
2025-12-12T12:00:26.052059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T12:00:26.054159Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T12:00:26.054171Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T12:00:26.054177Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T12:00:26.054337Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T12:00:26.054345Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c36a04d9-3b2f93b-56d3e773-8967e200_0]  PartitionId [0]  Generation [1] Write session: destroy
