Files
scylladb/gms/version_generator.hh
Avi Kivity f3eade2f62 treewide: relicense to ScyllaDB-Source-Available-1.0
Drop the AGPL license in favor of a source-available license.
See the blog post [1] for details.

[1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
2024-12-18 17:45:13 +02:00

30 lines
512 B
C++

/*
*
* Modified by ScyllaDB
* Copyright (C) 2015-present ScyllaDB
*/
/*
* SPDX-License-Identifier: (LicenseRef-ScyllaDB-Source-Available-1.0 and Apache-2.0)
*/
#pragma once
#include "utils/tagged_integer.hh"
namespace gms {
using version_type = utils::tagged_integer<struct version_type_tag, int32_t>;
/**
* A unique version number generator for any state that is generated by the
* local node.
*/
namespace version_generator
{
version_type get_next_version() noexcept;
}
} // namespace gms