Remove changes on license date
This commit is contained in:
parent
1b64a45f10
commit
87718aa084
@ -14,8 +14,6 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
|
||||
#include "storage/v3/edge_ref.hpp"
|
||||
#include "storage/v3/id_types.hpp"
|
||||
#include "storage/v3/property_value.hpp"
|
||||
|
@ -120,7 +120,7 @@ class LabelIndex {
|
||||
|
||||
[[nodiscard]] bool Empty() const noexcept { return index_.empty(); }
|
||||
|
||||
std::map<LabelId, IndexContainer> &GetIndex() { return index_; }
|
||||
std::map<LabelId, IndexContainer> &GetIndex() noexcept { return index_; }
|
||||
|
||||
private:
|
||||
std::map<LabelId, IndexContainer> index_;
|
||||
@ -239,7 +239,7 @@ class LabelPropertyIndex {
|
||||
|
||||
[[nodiscard]] bool Empty() const noexcept { return index_.empty(); }
|
||||
|
||||
std::map<std::pair<LabelId, PropertyId>, IndexContainer> &GetIndex() { return index_; }
|
||||
std::map<std::pair<LabelId, PropertyId>, IndexContainer> &GetIndex() noexcept { return index_; }
|
||||
|
||||
private:
|
||||
std::map<std::pair<LabelId, PropertyId>, IndexContainer> index_;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
@ -173,14 +173,6 @@ class ShardWorker {
|
||||
auto &rsm = rsm_map_.at(uuid);
|
||||
Time next_for_uuid = rsm.Cron();
|
||||
|
||||
// Check if shard should split
|
||||
// if (const auto split_info = rsm.ShouldSplit(); split_info) {
|
||||
// Request split from coordinator
|
||||
// split_point => middle pk
|
||||
// shard_id => uuid
|
||||
// shard_version =>
|
||||
// }
|
||||
|
||||
cron_schedule_.pop();
|
||||
cron_schedule_.push(std::make_pair(next_for_uuid, uuid));
|
||||
} else {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2023 Memgraph Ltd.
|
||||
// Copyright 2022 Memgraph Ltd.
|
||||
//
|
||||
// Use of this software is governed by the Business Source License
|
||||
// included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
||||
|
Loading…
Reference in New Issue
Block a user