mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 17:40:34 +00:00
sstables: add FIXME comment
Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
This commit is contained in:
committed by
Tomasz Grabiec
parent
617484c8f1
commit
28e14a08d8
@@ -519,6 +519,9 @@ future<> parse(random_access_reader& in, summary& s) {
|
||||
|
||||
future<> write(file_writer& out, summary_entry& entry)
|
||||
{
|
||||
// FIXME: summary entry is supposedly written in memory order, but that
|
||||
// would prevent portability of summary file between machines of different
|
||||
// endianness. We can treat it as little endian to preserve portability.
|
||||
return write(out, entry.key).then([&out, &entry] {
|
||||
auto p = reinterpret_cast<const char*>(&entry.position);
|
||||
return out.write(p, sizeof(uint64_t));
|
||||
|
||||
Reference in New Issue
Block a user