MCPcopy Create free account
hub / github.com/apache/impala / SetDiskFile

Method SetDiskFile

be/src/runtime/io/request-ranges.h:671–671  ·  view source on GitHub ↗

Set the DiskFile pointer which the WriteRange belongs to. Can only be called when the write is not in flight (i.e. before AddWriteRange() is called or after the write callback was called).

Source from the content-addressed store, hash-verified

669 /// Can only be called when the write is not in flight (i.e. before AddWriteRange()
670 /// is called or after the write callback was called).
671 void SetDiskFile(DiskFile* disk_file) { disk_file_ = disk_file; }
672
673 /// Set the IO context to this WriteRange.
674 /// Can only be called when the write is not in flight (i.e. before AddWriteRange()

Callers 6

WriteMethod · 0.80
RetryWriteMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
AddWriteRangeMethod · 0.80

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.64
TEST_FFunction · 0.64
AddWriteRangeMethod · 0.64