Add client trace lines and fix random client first-operation bug
Add logging infrastructure to client.c mirroring the server's node_log pattern, with trace lines for: init, async put/get/delete, begin transfers, replay requests, all received message types (store ack, fetch chunk response, redirect, reply, get blob response), disconnects, and unexpected messages. Add result/operation trace lines to random_client.c and fix a bug where the random client never started its first operation (the condition `result.type != TOASTYFS_RESULT_VOID` was always false on the first tick since no operation was pending). https://claude.ai/code/session_0184gHjra7fsmSPZ4kppaGhC
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
typedef struct {
|
||||
ToastyFS *tfs;
|
||||
bool started;
|
||||
} RandomClient;
|
||||
|
||||
struct pollfd;
|
||||
|
||||
Reference in New Issue
Block a user