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/
30 lines
512 B
C++
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
|