OTSU gate, SET_VOTE function
The SET_VOTE function of the OTSU gate is used record the vote that results from a PREPARE method being invoked on the OTS Resource represented by the given SUBORDINATE_TOKEN.
Input Parameters
- SUBORDINATE_TOKEN
- Token representing the subordinate OTS resource.
- VOTE
- The vote resulting from the first phase of syncpoint on the subordinate resource.
- Values for the parameter are:
- HEURISTIC_COMMIT
- HEURISTIC_HAZARD
- HEURISTIC_MIXED
- HEURISTIC_ROLLBACK
- NO
- READ_ONLY
- YES
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- RECORD_VOTE_FAILED
- The following values are returned when RESPONSE is EXCEPTION:
- INVALID_VOTE
- UNKNOWN_SUBORDINATE
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.