MCPcopy Create free account
hub / github.com/apache/cloudberry / close

Method close

gpcontrib/gpcloud/src/s3key_writer.cpp:47–51  ·  view source on GitHub ↗

This should be reentrant, has no side effects when called multiple times.

Source from the content-addressed store, hash-verified

45
46// This should be reentrant, has no side effects when called multiple times.
47void S3KeyWriter::close() {
48 if (!this->uploadId.empty()) {
49 this->completeKeyWriting();
50 }
51}
52
53void S3KeyWriter::checkQueryCancelSignal() {
54 if (S3QueryIsAbortInProgress() && !this->uploadId.empty()) {

Callers 1

~S3KeyWriterMethod · 0.95

Calls 1

completeKeyWritingMethod · 0.95

Tested by

no test coverage detected