Add consistency processing on writes to cassandra

Fixes bug 1271207