Cole Miller

Results 115 comments of Cole Miller

`cargo rustc` does indeed look at `.cargo/config`; for example, if you set `rustflags = ["-C", "target-cpu=native"]` (or whatever) under the `[build]` section and run `cargo rustc --verbose`, the printed invocation...

I wrote this PR quickly after participating in this URLO thread, where the OP ended up wanting to get and store the enum discriminant of a value in a generic...

Seems like the test failure (lxc-test-console-log) might be spurious?

I've been looking into implementing this. It seems that dqlite has address parsing logic in two different places: https://github.com/canonical/dqlite/blob/bbc45f801399ed4c12d4dd75d26e4220ea850cae/src/server.c#L202-L238 https://github.com/canonical/dqlite/blob/bbc45f801399ed4c12d4dd75d26e4220ea850cae/src/transport.c#L211-L234 And raft has its own address parsing code in the...

Yeah, that would be ideal if we don't mind the additional API surface in raft. We'd also have to decide which layer should implement support for Unix sockets and the...

I was looking at this a bit yesterday, and I think the most straightforward way to implement the fix is to introduce new request types corresponding to `REQUEST_EXEC`, `REQUEST_EXEC_SQL`, `REQUEST_QUERY`,...

> Regarding the idea that a revision bump should only add new fields at the end of the message, we should probably be a bit more flexible and see what...

> If the schema version in the request that the client sends is not understood by the server, the server will reply with an error. Currently we don't check the...

Naive question incoming: as a way of addressing the blocking issue, what about isolating all sqlite3 API calls in a separate thread that communicates using queues/channels with the main thread...