mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore(server): update license text (#312)
This commit is contained in:
parent
f1ee9b4b8d
commit
de9369f518
140 changed files with 155 additions and 156 deletions
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "core/compact_object.h"
|
#include "core/compact_object.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -25,4 +25,4 @@ void IntentLock::VerifyDebug() {
|
||||||
DCHECK_EQ(0u, cnt_[1] & kMsb);
|
DCHECK_EQ(0u, cnt_[1] & kMsb);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -55,4 +55,4 @@ TEST_F(ExtentTreeTest, Basic) {
|
||||||
EXPECT_THAT(*op, testing::Pair(60, 92));
|
EXPECT_THAT(*op, testing::Pair(60, 92));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -117,4 +117,4 @@ TEST_F(ExternalAllocatorTest, Classes) {
|
||||||
EXPECT_EQ(1_MB + 4_KB, ExternalAllocator::GoodSize(1_MB + 1));
|
EXPECT_EQ(1_MB + 4_KB, ExternalAllocator::GoodSize(1_MB + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "core/mi_memory_resource.h"
|
#include "core/mi_memory_resource.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -36,4 +36,4 @@ class MiMemoryResource : public std::pmr::memory_resource {
|
||||||
size_t used_ = 0;
|
size_t used_ = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "core/segment_allocator.h"
|
#include "core/segment_allocator.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -379,4 +379,4 @@ TEST_F(StringSetTest, Iteration) {
|
||||||
EXPECT_EQ(to_insert.size(), 0);
|
EXPECT_EQ(to_insert.size(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "core/tx_queue.h"
|
#include "core/tx_queue.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "facade/memcache_parser.h"
|
#include "facade/memcache_parser.h"
|
||||||
|
@ -173,4 +173,4 @@ auto MP::Parse(string_view str, uint32_t* consumed, Command* cmd) -> Result {
|
||||||
return ParseValueless(tokens + 1, num_tokens - 1, cmd);
|
return ParseValueless(tokens + 1, num_tokens - 1, cmd);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -75,4 +75,4 @@ class MemcacheParser {
|
||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -78,4 +78,4 @@ TEST_F(MCParserTest, Stats) {
|
||||||
EXPECT_EQ(MemcacheParser::PARSE_ERROR, st);
|
EXPECT_EQ(MemcacheParser::PARSE_ERROR, st);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace facade
|
} // namespace facade
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "facade/redis_parser.h"
|
#include "facade/redis_parser.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "facade/reply_builder.h"
|
#include "facade/reply_builder.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include <absl/container/flat_hash_map.h>
|
#include <absl/container/flat_hash_map.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -56,4 +56,4 @@ namespace std {
|
||||||
ostream& operator<<(ostream& os, const facade::RespExpr& e);
|
ostream& operator<<(ostream& os, const facade::RespExpr& e);
|
||||||
ostream& operator<<(ostream& os, facade::RespSpan rspan);
|
ostream& operator<<(ostream& os, facade::RespSpan rspan);
|
||||||
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "server/config_flags.h"
|
#include "server/config_flags.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -89,4 +89,3 @@ inline bool TrueValidator(const char* nm, const std::string& val) {
|
||||||
|
|
||||||
#define CONFIG_enum(name, val, txt, enum_arr, dest_var) \
|
#define CONFIG_enum(name, val, txt, enum_arr, dest_var) \
|
||||||
CONFIG_string(name, val, txt, BIND_ENUM_CONFIG(enum_arr, dest_var))
|
CONFIG_string(name, val, txt, BIND_ENUM_CONFIG(enum_arr, dest_var))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "server/debugcmd.h"
|
#include "server/debugcmd.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -69,4 +69,4 @@ struct ExpireTablePolicy {
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "server/dflycmd.h"
|
#include "server/dflycmd.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -157,8 +157,8 @@ TEST_F(GenericFamilyTest, RenameNx) {
|
||||||
// Set two keys
|
// Set two keys
|
||||||
string b_val(32, 'b');
|
string b_val(32, 'b');
|
||||||
string x_val(32, 'x');
|
string x_val(32, 'x');
|
||||||
Run({"mset", "x", x_val, "b", b_val});
|
Run({"mset", "x", x_val, "b", b_val});
|
||||||
|
|
||||||
ASSERT_THAT(Run({"renamenx", "z", "b"}), ErrArg("no such key"));
|
ASSERT_THAT(Run({"renamenx", "z", "b"}), ErrArg("no such key"));
|
||||||
ASSERT_THAT(Run({"renamenx", "x", "b"}), IntArg(0)); // b already exists
|
ASSERT_THAT(Run({"renamenx", "x", "b"}), IntArg(0)); // b already exists
|
||||||
ASSERT_THAT(Run({"renamenx", "x", "y"}), IntArg(1));
|
ASSERT_THAT(Run({"renamenx", "x", "y"}), IntArg(1));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -112,4 +112,4 @@ void JournalShard::AddLogRecord(TxId txid, unsigned opcode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace journal
|
} // namespace journal
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
@ -53,4 +53,4 @@ class JournalShard {
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace journal
|
} // namespace journal
|
||||||
} // namespace dfly
|
} // namespace dfly
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2022, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
#include "server/list_family.h"
|
#include "server/list_family.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2021, Roman Gershman. All rights reserved.
|
// Copyright 2022, DragonflyDB authors. All rights reserved.
|
||||||
// See LICENSE for licensing terms.
|
// See LICENSE for licensing terms.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue