Solr's prepareCommit doesn't set any commitData, and then when a commit is done, it's too late.
[branch_4x commit] Yonik Seeley
SOLR-3938: prepareCommit command omits commitData
Add unit test to TestReplicationHandler. This requires solrj support for prepareCommit, and thus includes that.
committed to 4x / trunk
Here's a simple patch that adds the commit data during the prepareCommit command.