facebook / facebook/rocksdb

SSTFileWriter don't report file size when enabled zstd dictionary training

Open
#11,146 7 comments 0 reactions 1 assignee Claimed by @cbi42 View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

> Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

I was trying to limit the file size when bulk loading with SSTFileWriter, and I find the `FileSize()` always return `0` when zstd dictionary training is enabled.

### Expected behavior

`sstFileWriter.FileSize()` should report current progress.

### Actual behavior

`sstFileWriter.FileSize()` always return `0` when zstd dictionary training is enabled.

### Steps to reproduce the behavior

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.