MCPcopy Create free account
hub / github.com/apache/trafficserver / ~AcidCommitPtr

Method ~AcidCommitPtr

include/tscore/AcidPtr.h:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 ~AcidCommitPtr()
184 {
185 if (!commit_lock) {
186 return; // previously aborted
187 }
188
189 // point the existing read ptr to the newly written data
190 data._finishCommit(std::unique_ptr<T>::release());
191 }
192
193 void
194 abort()

Callers

nothing calls this directly

Calls 2

releaseFunction · 0.85
_finishCommitMethod · 0.80

Tested by

no test coverage detected