FoundationDB

Make the fdb.api_version(nnn) specification optional


(Richard Applebaum) #1

Don’t know if this is the right place for this…

Doesn’t it make more sense to make setting the fdb.api_version optional by allowing fdb to default to the version of fdb installed?

That way, those users who need to set to a prior version could do so if needed by including the specification.


(David Scherer) #2

After you have upgraded FoundationDB, and had some behavior change you didn’t read the changelog about interact with your code to totally corrupt your data, it’s a little late to add the version declaration to your code.

That one extra line of code is a small price to pay for backward compatibility.


(Richard Applebaum) #3

That sounds like experience talking… well said!