2025-12-12T12:00:24.252385Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T12:00:24.252684Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T12:00:24.253048Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T12:00:24.254599Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/TxUsageTable-DirectRead_WriteToTopic_Invalid_Session/test-topic" message_group_id: "test-message_group_id" }
2025-12-12T12:00:24.254722Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T12:00:24.785980Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:24.786007Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540824785 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T12:00:24.786034Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0"
2025-12-12T12:00:24.786054Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T12:00:24.786087Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T12:00:24.786153Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T12:00:24.787658Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T12:00:24.787675Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T12:00:24.787679Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T12:00:24.787969Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T12:00:24.788036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T12:00:24.788068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/TxUsageTable-DirectRead_WriteToTopic_Invalid_Session/test-topic" partition_with_generation { generation: 1 } }
2025-12-12T12:00:24.788150Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T12:00:24.789087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:24.789102Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|344b780e-6c6f6d14-fbf07ae9-c556acd8_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0"
2025-12-12T12:00:24.789106Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T12:00:24.789412Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] OnWrite: seqNo=1, txId={ydb://session/3?node_id=1&id=OTExYTNhYjItZmNjZjcwYzctYjljZTMwY2EtNjljY2FlOWM=, 01kc96y15pc7j01qdjt4ysqk3c}, WriteCount=1, AckCount=0
2025-12-12T12:00:24.789429Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
2025-12-12T12:00:24.789678Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T12:00:24.789686Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T12:00:24.790603Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T12:00:24.790635Z :ERROR: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_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=OTExYTNhYjItZmNjZjcwYzctYjljZTMwY2EtNjljY2FlOWM= , code: 500030 
2025-12-12T12:00:24.790638Z :ERROR: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  MessageGroupId [test-message_group_id] Write session will not restart after a fatal error
2025-12-12T12:00:24.790640Z :INFO: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  MessageGroupId [test-message_group_id] Write session will now close
2025-12-12T12:00:24.790664Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  MessageGroupId [test-message_group_id] Write session: aborting
2025-12-12T12:00:24.790781Z :DEBUG: [local]  TraceId []  SessionId [98188b41-fa60b931-44d9943e-dc9b18ca|3c9ebdbc-ca1d8a8f-1b7759e1-c22a34f_0]  MessageGroupId [test-message_group_id] Write session: destroy
