Golang fdb.MustOpenDefault() does not fail when fdb.cluster content points to invalid host

Thanks @ajbeamon. I’ll set a transaction timeout and try to get a known key as a check for the ability to reach the database when my application starts up. For me, the app doesn’t work if the database isn’t immediately acceptable so just needed a solution for that.

Yea, on the 200, I just wanted the code to be as close to the examples on the site as possible, I’m using 520 in my production code.

Good to know that the default timeout is infinite. I will make the suggestion that you may want to change that to some smaller value for the default settings. Almost no one would want to wait infinitely for a transaction to complete in the real world. Or perhaps just updating the examples to set a timeout as not everyone will read the full godoc before trying some simple use cases to see if FoundationDB is within the right ballpark for their requirements.

Thanks for the thoughtful response!