mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
Changef5f566bdd8introduced tagged_integer and replaced raft::internal::tagged_uint64 with utils::tagged_integer. However, the idl type for raft::internal::tagged_uint64 was not marked as final, but utils::tagged_integer is, breaking the on-the-wire compatibility. This change defines the different raft tagged_uint64 types in idl/raft_storage.idl.hh as non-final to restore the way they were serialized prior tof5f566bdd8Fixes #13752 Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
26 lines
489 B
C++
26 lines
489 B
C++
/*
|
|
* Copyright (C) 2020-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
#pragma once
|
|
|
|
#include <ostream>
|
|
#include <functional>
|
|
#include "utils/UUID.hh"
|
|
#include "utils/tagged_integer.hh"
|
|
|
|
namespace raft {
|
|
namespace internal {
|
|
|
|
template<typename Tag>
|
|
using tagged_id = utils::tagged_uuid<Tag>;
|
|
|
|
template<typename Tag>
|
|
using tagged_uint64 = utils::tagged_tagged_integer<struct non_final, Tag, uint64_t>;
|
|
|
|
} // end of namespace internal
|
|
} // end of namespace raft
|