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

Error handling on missing keyspace/columnFamily #27

Open
mst opened this issue Feb 4, 2011 · 1 comment
Open

Error handling on missing keyspace/columnFamily #27

mst opened this issue Feb 4, 2011 · 1 comment

Comments

@mst
Copy link
Contributor

mst commented Feb 4, 2011

Would it make sense to throw a exception when you try to connect to a cluster where the wanted is not added, or the column family is missing?

Currently, there is only log output. I think, a missing keyspace or columnFamily is rather severe and should cause an exception.

@danwashusen
Copy link
Member

You have a good point about the missing keyspace. It currently only throws an exception so that the pool can still be created and used even when the keyspace doesn't exist (e.g. you may to perform management operations to create the missing keyspace). However, that's probably not the usual use case...

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

2 participants