Skip to content

Commit 19e5bee

Browse files
author
junchao
committed
add cc
1 parent 3d2d934 commit 19e5bee

File tree

1,635 files changed

+171810
-9247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,635 files changed

+171810
-9247
lines changed

BUILD.bazel

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
#
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
#
19-
201
package(default_visibility = ["//visibility:public"])
212

223
load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")

CHANGELOG.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,5 @@
1-
<!--
2-
- Licensed to the Apache Software Foundation (ASF) under one
3-
- or more contributor license agreements. See the NOTICE file
4-
- distributed with this work for additional information
5-
- regarding copyright ownership. The ASF licenses this file
6-
- to you under the Apache License, Version 2.0 (the
7-
- "License"); you may not use this file except in compliance
8-
- with the License. You may obtain a copy of the License at
9-
-
10-
- http://www.apache.org/licenses/LICENSE-2.0
11-
-
12-
- Unless required by applicable law or agreed to in writing,
13-
- software distributed under the License is distributed on an
14-
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
- KIND, either express or implied. See the License for the
16-
- specific language governing permissions and limitations
17-
- under the License.
18-
-->
19-
201
# Change Log
212

22-
### Apache ResilientDB v1.10.1 ([2024-4-16](https://github.com/resilientdb/resilientdb/releases/tag/v1.10.1))
23-
* Remove the binary keys from the source code. ([Junchao Chen](https://github.com/cjcchen))
24-
* Fix few bugs on Docker and performance tools. ([Gopal Nambiar](gopalnambiar2@gmail.com), [Junchao Chen](https://github.com/cjcchen))
25-
26-
### Apache ResilientDB v1.10.0 ([2024-4-16](https://github.com/resilientdb/resilientdb/releases/tag/v1.10.0-rc01))
27-
28-
Add the prototype of PoE. ([Junchao Chen](https://github.com/cjcchen))
29-
30-
* Implement the base version of the Proof-of-Execution (PoE) Consensus Protocol [EDBT 2011].
31-
32-
Add ResView Data Collection and APIs ([Saipranav-Kotamreddy](https://github.com/Saipranav-Kotamreddy))
33-
34-
* Consensus data such as PBFT messages and states is now collected and stored
35-
* Added APIs to query consensus data and progress of replicas
36-
* Added APIs to trigger faultiness and test view change
37-
383
### NexRes v1.9.0 ([2023-11-29](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.9.0))
394

405
Support Multi-version Key-Value Interface. ([Junchao Chen](https://github.com/cjcchen))

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
<!--
2-
- Licensed to the Apache Software Foundation (ASF) under one
3-
- or more contributor license agreements. See the NOTICE file
4-
- distributed with this work for additional information
5-
- regarding copyright ownership. The ASF licenses this file
6-
- to you under the Apache License, Version 2.0 (the
7-
- "License"); you may not use this file except in compliance
8-
- with the License. You may obtain a copy of the License at
9-
-
10-
- http://www.apache.org/licenses/LICENSE-2.0
11-
-
12-
- Unless required by applicable law or agreed to in writing,
13-
- software distributed under the License is distributed on an
14-
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
- KIND, either express or implied. See the License for the
16-
- specific language governing permissions and limitations
17-
- under the License.
18-
-->
19-
201
# Contributor Covenant Code of Conduct
212

223
## Our Pledge

Docker/Dockerfile

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
#
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
#
19-
201
FROM ubuntu:20.04
212

223
ARG DEBIAN_FRONTEND=noninteractive
@@ -39,7 +20,7 @@ RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel
3920
&& mv bazel.gpg /etc/apt/trusted.gpg.d/ \
4021
&& echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \
4122
&& curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \
42-
&& apt-get update && apt-get install -y bazel=6.0.0 \
23+
&& apt-get update && apt-get install -y bazel=5.0.0 \
4324
&& rm /etc/apt/sources.list.d/bazel.list
4425

4526
# Set the working directory
@@ -53,4 +34,4 @@ RUN bazel --version
5334
RUN bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier
5435
RUN bazel build service/tools/kv/api_tools/kv_service_tools
5536

56-
ENTRYPOINT ["./entrypoint.sh"]
37+
ENTRYPOINT ["./entrypoint.sh"]

Docker/Dockerfile_mac

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
#
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
#
19-
201
# Use a base image for ARM64 architecture
212
FROM arm64v8/ubuntu:20.04
223

INSTALL.sh

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
1-
#
2-
# Licensed to the Apache Software Foundation (ASF) under one
3-
# or more contributor license agreements. See the NOTICE file
4-
# distributed with this work for additional information
5-
# regarding copyright ownership. The ASF licenses this file
6-
# to you under the Apache License, Version 2.0 (the
7-
# "License"); you may not use this file except in compliance
8-
# with the License. You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing,
13-
# software distributed under the License is distributed on an
14-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
# KIND, either express or implied. See the License for the
16-
# specific language governing permissions and limitations
17-
# under the License.
18-
#
19-
20-
#!/bin/bash
21-
1+
#!/bin/sh
222

233
sudo apt update
244
sudo apt install apt-transport-https curl gnupg -y
@@ -29,34 +9,11 @@ curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
299
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
3010
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
3111
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
32-
sudo apt update && sudo apt install bazel=6.0.0 -y
12+
sudo apt update && sudo apt install bazel=5.0.0 -y
3313
sudo apt install clang-format -y
3414
rm $PWD/.git/hooks/pre-push
3515
ln -s $PWD/hooks/pre-push $PWD/.git/hooks/pre-push
3616

37-
bazel --version
38-
ret=$?
39-
40-
if [[ $ret != "0" ]]; then
41-
42-
sudo apt-get install build-essential openjdk-11-jdk zip unzip -y
43-
rm bazel-6.0.0-dist.zip
44-
rm -rf bazel_build
45-
wget wget https://releases.bazel.build/6.0.0/release/bazel-6.0.0-dist.zip
46-
mkdir -p bazel_build
47-
mv bazel-6.0.0-dist.zip bazel_build/
48-
cd bazel_build
49-
50-
unzip bazel-6.0.0-dist.zip
51-
52-
export JAVA_HOME='/usr/lib/jvm/java-1.11.0-openjdk-arm64/'
53-
env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash ./compile.sh
54-
sudo cp output/bazel /usr/local/bin/
55-
cd ..
56-
rm -rf bazel_build
57-
58-
fi
59-
6017
# install buildifier
6118
bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier
6219

INSTALL_MAC.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
!/bin/sh
2+
3+
sudo apt update
4+
sudo apt install g++ -y
5+
sudo apt install apt-transport-https curl gnupg -y
6+
sudo apt install protobuf-compiler -y
7+
8+
wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-linux-arm64
9+
chmod +x bazelisk-linux-arm64
10+
sudo mv bazelisk-linux-arm64 /usr/local/bin/bazel
11+
12+
sudo apt install clang-format -y
13+
rm -rf $PWD/.git/hooks/pre-push
14+
ln -s $PWD/hooks/pre-push $PWD/.git/hooks/pre-push
15+
16+
bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier
17+
18+
# for jemalloc
19+
sudo apt-get install autoconf automake libtool -y
20+
21+
sudo apt install rapidjson-dev -y

LICENSE

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -199,37 +199,3 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202-
203-
================================================================
204-
205-
This product includes a number of dependencies with separate copyright notices
206-
and license terms. Your use of these submodules is subject to the terms and
207-
conditions of the following licenses.
208-
209-
================================================================
210-
MIT licenses
211-
================================================================
212-
213-
third_party/loc_script/src/index.js files from https://github.com/shadowmoose/GHA-LoC-Badge/blob/1.0.0/src/index.js
214-
215-
MIT License
216-
217-
Copyright (c) 2020 Mike
218-
219-
Permission is hereby granted, free of charge, to any person obtaining a copy
220-
of this software and associated documentation files (the "Software"), to deal
221-
in the Software without restriction, including without limitation the rights
222-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
223-
copies of the Software, and to permit persons to whom the Software is
224-
furnished to do so, subject to the following conditions:
225-
226-
The above copyright notice and this permission notice shall be included in all
227-
copies or substantial portions of the Software.
228-
229-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
230-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
231-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
232-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
233-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
234-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
235-
SOFTWARE.

LICENSE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Trade Secret License
2+
3+
Copyright (c) 2018 ExpoLab, ResilientDB
4+
5+
This is a strictly confidential repo, please do not fork, share, or distribute any part of the code.

NOTICE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ Apache ResilientDB
22
Copyright 2023-2024 The Apache Software Foundation
33

44
This product includes software developed at
5-
The Apache Software Foundation (http://www.apache.org/).
6-
5+
The Apache Software Foundation (/).

0 commit comments

Comments
 (0)