| 5819 | } |
| 5820 | |
| 5821 | void Transaction::resetImpl(bool generateNewSpan) { |
| 5822 | flushTrLogsIfEnabled(); |
| 5823 | trState = trState->cloneAndReset(createTrLogInfoProbabilistically(trState->cx), generateNewSpan); |
| 5824 | tr = CommitTransactionRequest(trState->spanContext); |
| 5825 | readVersion = Future<Version>(); |
| 5826 | metadataVersion = Promise<Optional<Key>>(); |
| 5827 | extraConflictRanges.clear(); |
| 5828 | commitResult = Promise<Void>(); |
| 5829 | committing = Future<Void>(); |
| 5830 | cancelWatches(); |
| 5831 | } |
| 5832 | |
| 5833 | TagSet const& Transaction::getTags() const { |
| 5834 | return trState->options.tags; |
nothing calls this directly
no test coverage detected