This is an automated email from the ASF dual-hosted git repository.

chunshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb.git


The following commit(s) were added to refs/heads/main by this push:
     new c5d6be64 chore: more rename to horaedb (#1419)
c5d6be64 is described below

commit c5d6be6477b2f6579984f5992daed413e03e1b8a
Author: chunshao.rcs <[email protected]>
AuthorDate: Wed Jan 3 17:33:31 2024 +0800

    chore: more rename to horaedb (#1419)
    
    ## Rationale
    More rename to horaedb.
    
    ## Detailed Changes
    
    
    ## Test Plan
    CI.
---
 Dockerfile               |  2 +-
 docker/entrypoint.sh     |  2 +-
 src/horaedb/src/setup.rs | 12 ++++++------
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 4c4500be..f4961ebf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@ RUN make build
 ## HoraeDB
 FROM ubuntu:20.04
 
-RUN useradd -m -s /bin/bash ceres
+RUN useradd -m -s /bin/bash horae
 
 RUN apt update && \
     apt install --yes curl gdb iotop cron vim less net-tools && \
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 23a3d885..2f7728fe 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -3,7 +3,7 @@
 set -exo pipefail
 
 ## init varibles
-USER="ceres"
+USER="horae"
 DATA_DIR="/home/${USER}/data"
 DATA_PATH="${DATA_DIR}/horaedb"
 CONFIG_FILE="/etc/horaedb/horaedb.toml"
diff --git a/src/horaedb/src/setup.rs b/src/horaedb/src/setup.rs
index 38520ce2..35b19cb6 100644
--- a/src/horaedb/src/setup.rs
+++ b/src/horaedb/src/setup.rs
@@ -91,15 +91,15 @@ fn build_runtime(name: &str, threads_num: usize) -> 
runtime::Runtime {
 fn build_engine_runtimes(config: &RuntimeConfig) -> EngineRuntimes {
     EngineRuntimes {
         read_runtime: Arc::new(build_runtime_with_stack_size(
-            "ceres-read",
+            "horae-read",
             config.read_thread_num,
             Some(config.read_thread_stack_size.as_byte() as usize),
         )),
-        write_runtime: Arc::new(build_runtime("ceres-write", 
config.write_thread_num)),
-        compact_runtime: Arc::new(build_runtime("ceres-compact", 
config.compact_thread_num)),
-        meta_runtime: Arc::new(build_runtime("ceres-meta", 
config.meta_thread_num)),
-        default_runtime: Arc::new(build_runtime("ceres-default", 
config.default_thread_num)),
-        io_runtime: Arc::new(build_runtime("ceres-io", config.io_thread_num)),
+        write_runtime: Arc::new(build_runtime("horae-write", 
config.write_thread_num)),
+        compact_runtime: Arc::new(build_runtime("horae-compact", 
config.compact_thread_num)),
+        meta_runtime: Arc::new(build_runtime("horae-meta", 
config.meta_thread_num)),
+        default_runtime: Arc::new(build_runtime("horae-default", 
config.default_thread_num)),
+        io_runtime: Arc::new(build_runtime("horae-io", config.io_thread_num)),
     }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to