neo4j/neo4j — pull request #3137 by jakewins (2014-09-24 04:58:17+00:00)
Title: Fix race condition between constraint creation and slave write.

This removes two race conditions present in 2.2 where a constraint creation
could be violated by a commit coming from a slave. By grabbing a schema read
lock on every slave commit, we ensure exclusive access to committing schema
transactions.