add conditional write for aerospike client
Merge branch 'test'