Re: Create table concurrently

2019-12-23 Thread Jeff Jirsa
> On Dec 23, 2019, at 5:02 PM, Dimo Velev wrote: > > Hi, > > We have microservices that use Cassandra. Each instance, when started, > creates the required DB schema (and keeps a changelog). As instances can be > started at the same time, we use a row in a table as lock - insert into if

Create table concurrently

2019-12-23 Thread Dimo Velev
Hi, We have microservices that use Cassandra. Each instance, when started, creates the required DB schema (and keeps a changelog). As instances can be started at the same time, we use a row in a table as lock - insert into if not exists using ttl. That all works without any issues.The problem is