title: Cassandra - do not upsert
body: <p>We have a requirement where we would like our application (which might be deployed on multiple hosts) to create a row in Cassandra. The only host which is successful in creating the row, execute the work. Would it be enough to write an insert statement like below so that if two server try to insert the row, only one succeeds, and the other one gets the exception/does not succeed?</p>
  
  <p><code>INSERT INTO keyspace1.claim (claim_id, status) VALUES (1, false) IF NOT EXIST</code></p>
  
  <p>Would like to understand using <code>IF NOT EXIST</code> will avoid the upsert.</p>
  
  <p>Thanks,
  Shilpa</p>