Skip to content

Commit

Permalink
Release 1.3.3 (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShooterIT authored May 18, 2021
1 parent 6c98261 commit 6fac4d5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 14 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/kvrocks.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: kvrocks ci actions # don't edit while the badge was depend on this

on:
push:
branches:
- master
pull_request:
branches:
- master
on: [push, pull_request]

jobs:
lint-build-test:
Expand All @@ -17,7 +11,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code Base
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
with:
fetch-depth: 64

- name: Install Dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(kvrocks
VERSION 1.3.2
VERSION 1.3.3
DESCRIPTION "NoSQL which based on rocksdb and compatible with the Redis protocol"
LANGUAGES CXX)

Expand Down
15 changes: 15 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Version 1.3.3

Bug fixes
- Fix rocksdb can't auto resume after no space error (#229)
- Fix uninitialized Rocksdb.level0_stop_writes_trigger (#236)
- Fix condition race for ReclaimOldDBPtr (#246)
- Fix returning wrong string range in GETRANGE command (#254)
- Fix data race for accessing database in some commands (#253)
In spop, zremrangebylex, zremrangebyscore commands, the lock guard
for accessing the database may not work actually.

Improvements
- Replicas can execute publish command (#238)


# Version 1.3.2

Bug fixes
Expand Down
5 changes: 0 additions & 5 deletions src/redis_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
#include <atomic>
#include <rocksdb/env.h>

// 52 bit for microseconds and 11 bit for counter
const int VersionCounterBits = 11;

static std::atomic<uint64_t> version_counter_ = {0};

InternalKey::InternalKey(Slice input) {
uint32_t key_size;
uint8_t namespace_size;
Expand Down
4 changes: 4 additions & 0 deletions src/redis_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ struct KeyNumStats {
uint64_t avg_ttl = 0;
};

// 52 bit for microseconds and 11 bit for counter
const int VersionCounterBits = 11;
static std::atomic<uint64_t> version_counter_ = {0};

void ExtractNamespaceKey(Slice ns_key, std::string *ns, std::string *key);
void ComposeNamespaceKey(const Slice &ns, const Slice &key, std::string *ns_key);

Expand Down

0 comments on commit 6fac4d5

Please sign in to comment.