infinispan/infinispan — pull request #1313 by anistor (2012-09-17 13:23:12+00:00)
Title: ISPN-2306 Remove the code that resends PrepareCommands

* Remove CommitCommand.RESEND_PREPARE and all the logic related to it from DistributionInterceptor, VersionedDistributionInterceptor, ReplicationInterceptor and VersionedReplicationInterceptor
* Remove unused methods: PrepareCommand.existModifications(), PrepareCommand.getModificationsCount(), PrepareCommand.containsModificationType()
* Remove unused method RemoteTransaction.isMissingModifications(). All remote transactions have their 'modifications' correctly populated by new NBST
* Add RemoteTransaction.isMissingLookedUpEntries() flag. This flag is true for all transactions received via NBST. Modify EntryWrappingInterceptor to create and execute a PrepareCommand if a CommitCommand is received and RemoteTransaction.isMissingLookedUpEntries() is true; this approach does not require resend of PrepareCommands

JIRA: https://issues.jboss.org/browse/ISPN-2306