2025-12-12T11:57:49.035288Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:49.035483Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:49.035663Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:49.035711Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Invalid_Session/test-topic" message_group_id: "test-message_group_id" }
2025-12-12T11:57:49.035831Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:49.042181Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:49.042205Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540669042 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:49.042236Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0"
2025-12-12T11:57:49.042241Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:49.042333Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:49.042403Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:49.043740Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:49.043754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:49.043759Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:49.044073Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:49.044229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:49.044262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageQuery-DirectRead_WriteToTopic_Invalid_Session/test-topic" partition_with_generation { generation: 1 } }
2025-12-12T11:57:49.044349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:49.045131Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:49.045147Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|951bedbe-1f2654b4-33581be1-a0bf484a_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0"
2025-12-12T11:57:49.045151Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:49.047036Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=NWRkNmZhN2EtNmI2ZWU3ZjgtN2IwZDU4MC05ZTIzMzY3Nw==, 01kc96s9kaa2bnm4mynfhffzcn}, WriteCount=1, AckCount=0
2025-12-12T11:57:49.047051Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T11:57:49.047179Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:49.047189Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T11:57:49.047925Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:49.047955Z :ERROR: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  MessageGroupId [test-message_group_id] Got error. Status: NOT_FOUND, Description: <main>: Error: status is not ok: <main>: Error: Session not found: ydb://session/3?node_id=1&id=NWRkNmZhN2EtNmI2ZWU3ZjgtN2IwZDU4MC05ZTIzMzY3Nw== , code: 500030 
2025-12-12T11:57:49.047959Z :ERROR: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  MessageGroupId [test-message_group_id] Write session will not restart after a fatal error
2025-12-12T11:57:49.047966Z :INFO: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  MessageGroupId [test-message_group_id] Write session will now close
2025-12-12T11:57:49.047975Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  MessageGroupId [test-message_group_id] Write session: aborting
2025-12-12T11:57:49.048079Z :DEBUG: [local]  TraceId []  SessionId [9f57236e-5fd7279f-4b779209-1dc0badc|ff2d61f0-18b63d9a-a87bc652-e1ddbc69_0]  MessageGroupId [test-message_group_id] Write session: destroy
