public Guid ProcessUpdate(ClusterSparqlTransaction txn) { if (_state != CoreState.RunningMaster) { throw new NotMasterException(); } // Do some validation // Check store exists txn.JobId = Guid.NewGuid(); txn.PrevTxnId = _storeInfo[txn.StoreId].Queue(txn.JobId); _serverCore.QueueUpdate(txn.JobId, txn.StoreId, txn.Expression); _nodeComms.SendTransactionToSlaves(txn); return(txn.JobId); }