Keith Wansbrough

Results 64 comments of Keith Wansbrough

Thanks @rukai. I've just checked and the cassandra-rs test build here is still working. Can you provide a repro please?

@jhgg do you remember why executing a `Statement` consumes it? You mention the necessity in https://github.com/Metaswitch/cassandra-rs/pull/101#issue-784932157 but don't explain why. Is it just the ergonomics (i.e., consuming the statement means...

@rukai as you point out, the issue is that we need to drop the `CassStatement` when we're finished using it (e.g., once it's been passed to `execute`). That drop logic...

Ah, this is interesting. `execute` consumes the statement so that it can drop it immediately after passing the pointer to the driver, rather than holding onto it until the future...

Retry is a very common pattern, which is presumably why it is collected in [akka.pattern](https://doc.akka.io/api/akka/current/akka/pattern/index.html) along with other "usage patterns which involve actors, futures, etc. but are loosely enough coupled...

Ah, you're right - looks like we missed a few. The batch or statement should always be consumed, and we should be using the new-style futures everywhere. I think we...

@rukai any chance you could look at this? Thanks for spotting the issue!

There are several things that seem odd about your code, I'm afraid :-/. Hopefully this will help: * In the table schema, why is `cast` a list of maps, rather...

Hi @Nagispace - I haven't tried building on Windows so I can't give specific assistance. Please could you copy and paste the entire message, in case someone else is able...

Thanks - the error appears to be: ``` error: linking with `link.exe` failed: exit code: 1181 | = note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "%HOME%\\AppData\\Local\\Temp\\rustc2mknMq\\symbols.o" "%HOME%\\dev\\projects\\project\\project_api\\target\\debug\\deps\\project.10mpx8fccwah0mmv.rcgu.o" [... thousands of chars...