* not have to be this txn's base partition/
* @param ts
*/
public void queueSetPartitionLock(AbstractTransaction ts) {
assert(ts.isInitialized()) : "Unexpected uninitialized transaction: " + ts;
SetDistributedTxnMessage work = ts.getSetDistributedTxnMessage();
boolean success = this.work_queue.offer(work);
assert(success) :
String.format("Failed to queue %s at partition %d for %s",
work, this.partitionId, ts);
if (debug.val)
LOG.debug(String.format("%s - Added %s to front of partition %d " +
"work queue [size=%d]",
ts, work.getClass().getSimpleName(), this.partitionId,
this.work_queue.size()));
if (hstore_conf.site.specexec_enable) this.specExecScheduler.interruptSearch(work);
}