2025-12-12T11:56:55.943027Z :DEBUG: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:55.943358Z :INFO: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:55.943426Z :ERROR: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Got error. Status: TRANSPORT_UNAVAILABLE, Description: <main>: Error: GRpc error: (14): DNS resolution failed for invalid:2136: C-ares status is not ARES_SUCCESS qtype=A name=invalid is_balancer=0: Domain name not found <main>: Error: Grpc error response on endpoint invalid:2136 <main>: Error: Endpoint list is empty for database /Invalid, cluster endpoint invalid:2136. 
2025-12-12T11:56:55.943431Z :ERROR: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session will not restart after a fatal error
2025-12-12T11:56:55.943438Z :INFO: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session will now close
2025-12-12T11:56:55.943455Z :DEBUG: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: aborting
2025-12-12T11:56:55.943511Z :DEBUG: [/Invalid]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: destroy
2025-12-12T11:56:55.946328Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:55.946511Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:55.958236Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:55.959721Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_ConnectToYDB/test-topic" message_group_id: "test-message_group_id" }
2025-12-12T11:56:55.959869Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.615640Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.615662Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540616615 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:56.615687Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0"
2025-12-12T11:56:56.615691Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.615736Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:56.615806Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:56.617336Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:56.617354Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:56.617359Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:56.617615Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:56.617907Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:56.617935Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_ConnectToYDB/test-topic" partition_with_generation { generation: 1 } }
2025-12-12T11:56:56.618058Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.618898Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.618930Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ed6fdefc-e61ff88d-c2f353bf-84f2d87c_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0"
2025-12-12T11:56:56.618934Z :DEBUG: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.618982Z :INFO: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 0.000000s
2025-12-12T11:56:56.618992Z :INFO: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:56.619002Z :DEBUG: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:56.619165Z :INFO: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:56:56.619668Z :DEBUG: [local]  TraceId []  SessionId [290a4531-ab1a89ac-e656640b-d8c2fe5a|7fc3e606-1dc50-13cb1144-de100396_0]  PartitionId [0]  Generation [1] Write session: destroy
