cleaned up mark_all code
Merge remote-tracking branch 'origin/cassandra' into cassandra