GetAggregatedIntProperty() broken when one column lacks the property.
- Dominant language
- C++
- Stars
- 32.1k
- Forks
- 6.9k
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Description
#### Background
I have disabled the block_cache on the "default" column by setting the `no_block_cache` table option. This prevents the internal default creation of that cache. The rest of my columns have block caches.
##### Actual behavior
Calling `GetAggregatedIntProperty()` returns false with the keys:
- `rocksdb.block-cache-capacity`
- `rocksdb.block-cache-usage`
- `rocksdb.block-cache-pinned-usage`
##### Expected behavior
The aggregation should count a missing property for a column as zero. The other columns should continue to be accumulated without being disrupted by one column missing the property. In this case I want the total cache properties for all of my columns; a column without a cache merely adds zero to these properties. It should not be an error.
Contributor guide
Assessment
This issue has not been assessed yet.