Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proactive Flushes - Compilation warnings #304

Closed
Yuval-Ariel opened this issue Dec 21, 2022 · 0 comments · Fixed by #307
Closed

Proactive Flushes - Compilation warnings #304

Yuval-Ariel opened this issue Dec 21, 2022 · 0 comments · Fixed by #307

Comments

@Yuval-Ariel
Copy link
Contributor

Yuval-Ariel commented Dec 21, 2022

compiling on mac:

db/db_impl/db_impl_compaction_flush.cc:4010:37: warning: format specifies type 'unsigned long' but the argument has type 'rocksdb::SequenceNumber' (aka 'unsigned long long') [-Wformat]
min_size_to_flush, seq_num_for_cf_picked,
^~~~~~~~~~~~~~~~~~~~~
./logging/logging.h:39:63: note: expanded from macro 'ROCKS_LOG_INFO'
RocksLogShorterFileName(FILE), ##VA_ARGS)
^~~~~~~~~~~
db/db_impl/db_impl_compaction_flush.cc:4011:18: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
cfd_to_flush->GetNumQueuedForFlush(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./logging/logging.h:39:63: note: expanded from macro 'ROCKS_LOG_INFO'
RocksLogShorterFileName(FILE), ##VA_ARGS)
^~~~~~~~~~~
db/db_impl/db_impl_compaction_flush.cc:4013:18: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
orig_cfd_to_flush->GetNumQueuedForFlush());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./logging/logging.h:39:63: note: expanded from macro 'ROCKS_LOG_INFO'
RocksLogShorterFileName(FILE), ##VA_ARGS)
^~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant