Skip to content

Commit

Permalink
[SYS-6354] Fix compilation issues. (#291)
Browse files Browse the repository at this point in the history
A couple of minor problems in RocsDB-Cloud that surfaced while
trying to enable coroutines.
  • Loading branch information
dpetrov4 authored Oct 13, 2023
1 parent 5ff3b23 commit 016ce15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/aws/aws_s3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ IOStatus S3StorageProvider::DoGetCloudObject(const std::string& bucket_name,
// Close() will be called in the destructor of the object returned by
// this factory. Adding an inner scope so that the destructor is called
// before checking fileCloseStatus.
auto ioStreamFactory = [=, &fileCloseStatus]() -> Aws::IOStream* {
auto ioStreamFactory = [this, destination, &fileCloseStatus]() -> Aws::IOStream* {
FileOptions foptions;
foptions.use_direct_writes =
cfs_->GetCloudFileSystemOptions().use_direct_io_for_cloud_download;
Expand Down
1 change: 1 addition & 0 deletions db/version_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2715,6 +2715,7 @@ Status Version::ProcessBatch(
MultiGetRange file_range = fp.CurrentFileRange();
TableCache::TypedHandle* table_handle = nullptr;
bool skip_filters = IsFilterSkipped(static_cast<int>(fp.GetHitFileLevel()),
read_options,
fp.IsHitFileLastInLevel());
bool skip_range_deletions = false;
if (!skip_filters) {
Expand Down

0 comments on commit 016ce15

Please sign in to comment.