This is an automated email from the ASF dual-hosted git repository. junchao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
commit e4381847679da05b72b217ffa9c9267b5c5e8366 Author: cjcchen <[email protected]> AuthorDate: Wed Dec 3 13:45:12 2025 +0000 add license --- platform/config/expect_test.config | 38 ++++++++++++++++++++++++++ platform/config/test.config | 56 ++++++++++++++++++++++++++++++++++++++ service/tools/config/server.config | 5 ++++ 3 files changed, 99 insertions(+) diff --git a/platform/config/expect_test.config b/platform/config/expect_test.config new file mode 100644 index 00000000..740bae3a --- /dev/null +++ b/platform/config/expect_test.config @@ -0,0 +1,38 @@ +{ + region : { + replica_info : { + id:1, + ip:"127.0.0.1", + port: 10001, + }, + replica_info : { + id:2, + ip:"127.0.0.1", + port: 10002, + }, + replica_info : { + id:3, + ip:"127.0.0.1", + port: 10003, + }, + replica_info : { + id:4, + ip:"127.0.0.1", + port: 10004, + }, + region_id: 1, + }, + self_region_id:1, + leveldb_info : { + write_buffer_size_mb:128, + write_batch_size:1, + enable_block_cache: true, + block_cache_capacity: 100 + }, + require_txn_validation:true, + enable_viewchange:false, + enable_resview:true, + enable_faulty_switch:false +} + + diff --git a/platform/config/test.config b/platform/config/test.config new file mode 100644 index 00000000..7da636bb --- /dev/null +++ b/platform/config/test.config @@ -0,0 +1,56 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + +{ + region : { + replica_info : { + id:1, + ip:"127.0.0.1", + port: 10001, + }, + replica_info : { + id:2, + ip:"127.0.0.1", + port: 10002, + }, + replica_info : { + id:3, + ip:"127.0.0.1", + port: 10003, + }, + replica_info : { + id:4, + ip:"127.0.0.1", + port: 10004, + }, + region_id: 1, + }, + self_region_id:1, + leveldb_info : { + write_buffer_size_mb:128, + write_batch_size:1, + enable_block_cache: true, + block_cache_capacity: 100 + }, + require_txn_validation:true, + enable_viewchange:false, + enable_resview:true, + enable_faulty_switch:false +} + + diff --git a/service/tools/config/server.config b/service/tools/config/server.config new file mode 100644 index 00000000..16ace299 --- /dev/null +++ b/service/tools/config/server.config @@ -0,0 +1,5 @@ + +1 127.0.0.1 20001 +2 127.0.0.1 20002 +3 127.0.0.1 20003 +4 127.0.0.1 20004
