Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling incompatible API versions #272

Closed
cmccoy opened this issue May 29, 2015 · 3 comments
Closed

Handling incompatible API versions #272

cmccoy opened this issue May 29, 2015 · 3 comments

Comments

@cmccoy
Copy link
Collaborator

cmccoy commented May 29, 2015

We should decide how to structure code handling incompatible API changes for different database versions. I've seen:

Currently we're including multiple clients within a single module, but I think it would be cleaner to have a separate module for incompatible versions. The HBase client, for example, now needs to be compiled against HBase 1.0.x. I think having an hbase-10 module and hbase-09 module might be better.

@busbey
Copy link
Collaborator

busbey commented May 29, 2015

yes, definitely. in the case of HBase it should probably be hbase-94 and hbase-1.0 (and if the hbase-1.0 client doesn't work properly with a 0.98 cluster, we'll also need an hbase-98).

In addition to making the transition across versions clearer to downstream folks, this also makes it easier to deal with conflicting runtime needs.

@cmccoy
Copy link
Collaborator Author

cmccoy commented Sep 19, 2015

This is done for HBase.

@risdenk
Copy link
Collaborator

risdenk commented Jan 19, 2017

Closing since this has been implemented with HBase and other bindings.

@risdenk risdenk closed this as completed Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants