We have an issue with tables creations in our application.
We think CREATE TABLE returns before the tables are created. Because this looks like a non-blocking operation, our inserts (in a callback) are actually happening before the tables are created.
We tried to use a Thread.sleep() just before the insert and it works but we can't stay with this.