Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle TableOps exists() issues #768
This method has concurrency issues, mainly due to cacheing and the distributed environment of Accumulo. For example, one process could create a table and this method could return false for another process because it's zookeeper cache doesn't have the table ID yet. Another example... one process calls exists, gets true then performs an action on that table but the table is deleted before the process can perform the action on that table. We seem to have to explain this to users quite often. At the very least, we should document this in javadoc.