Skip to content

Commit 016ce15

Browse files
authored
[SYS-6354] Fix compilation issues. (#291)
A couple of minor problems in RocsDB-Cloud that surfaced while trying to enable coroutines.
1 parent 5ff3b23 commit 016ce15

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cloud/aws/aws_s3.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ IOStatus S3StorageProvider::DoGetCloudObject(const std::string& bucket_name,
950950
// Close() will be called in the destructor of the object returned by
951951
// this factory. Adding an inner scope so that the destructor is called
952952
// before checking fileCloseStatus.
953-
auto ioStreamFactory = [=, &fileCloseStatus]() -> Aws::IOStream* {
953+
auto ioStreamFactory = [this, destination, &fileCloseStatus]() -> Aws::IOStream* {
954954
FileOptions foptions;
955955
foptions.use_direct_writes =
956956
cfs_->GetCloudFileSystemOptions().use_direct_io_for_cloud_download;

db/version_set.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2715,6 +2715,7 @@ Status Version::ProcessBatch(
27152715
MultiGetRange file_range = fp.CurrentFileRange();
27162716
TableCache::TypedHandle* table_handle = nullptr;
27172717
bool skip_filters = IsFilterSkipped(static_cast<int>(fp.GetHitFileLevel()),
2718+
read_options,
27182719
fp.IsHitFileLastInLevel());
27192720
bool skip_range_deletions = false;
27202721
if (!skip_filters) {

0 commit comments

Comments
 (0)