2025-12-12T12:00:26.477471Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T12:00:26.477640Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T12:00:26.477675Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T12:00:26.478875Z :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.478889Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T12:00:26.478894Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T12:00:26.479068Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T12:00:26.479100Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Demo_36/topic_A" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T12:00:26.479178Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T12:00:26.485846Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.485867Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540826485 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T12:00:26.485897Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0"
2025-12-12T12:00:26.485968Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3bc6yds736sh4d7rj1v}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.487130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T12:00:26.488308Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.488324Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T12:00:26.491688Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=2, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3bc6yds736sh4d7rj1v}, WriteCount=2, AckCount=0
2025-12-12T12:00:26.491709Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 2 to 2
2025-12-12T12:00:26.491727Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.491732Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T12:00:26.521240Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.521298Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written_in_tx { } } write_statistics { persisting_time { nanos: 14000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.521309Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3bc6yds736sh4d7rj1v}, WriteCount=2, AckCount=1
2025-12-12T12:00:26.521313Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T12:00:26.522043Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.522082Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 2 written_in_tx { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { nanos: 4000000 } max_queue_wait_time { nanos: 4000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T12:00:26.522091Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnAck: seqNo=2, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3bc6yds736sh4d7rj1v}, WriteCount=2, AckCount=2
2025-12-12T12:00:26.522352Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 2
2025-12-12T12:00:26.533048Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=3, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3d416f6xnvn92chsk85}, WriteCount=1, AckCount=0
2025-12-12T12:00:26.533067Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 3 to 3
2025-12-12T12:00:26.533087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:26.533090Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 3
2025-12-12T12:00:26.536780Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:26.536830Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 3 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.536838Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] OnAck: seqNo=3, txId={ydb://session/3?node_id=1&id=OGY2YWJkMWYtZWQ4Y2JkMmYtOWZmZTE5NjEtM2YwNzkyNzM=, 01kc96y3d416f6xnvn92chsk85}, WriteCount=1, AckCount=1
2025-12-12T12:00:26.537021Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 3
2025-12-12T12:00:26.538957Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T12:00:26.538966Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T12:00:26.538971Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T12:00:26.539084Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T12:00:26.539089Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7645e35-16826c1-5d590423-e65dfd71_0]  PartitionId [0]  Generation [1] Write session: destroy
