Giter VIP home page Giter VIP logo

Comments (4)

drmingdrmer avatar drmingdrmer commented on August 16, 2024 1

An initial observation is that when purging a raft log, memory is allocated for the log. I'm going to investigate further to determine why this occurs.

image

from databend.

wubx avatar wubx commented on August 16, 2024 1
cat databend-meta.toml
# Usage:
# databend-meta -c databend-meta-node-1.toml

log_dir                 = "/data1/databend/log/"
admin_api_address       = "0.0.0.0:28101"
grpc_api_address        = "0.0.0.0:9191"
# databend-query fetch this address to update its databend-meta endpoints list,
# in case databend-meta cluster changes.
grpc_api_advertise_host = "192.168.1.100"

max_applied_log_to_keep = 1000
snapshot_logs_since_last=10000


[raft_config]
id            = 2
raft_dir      = "/data1/databend/meta/"
raft_api_port = 28103

# Assign raft_{listen|advertise}_host in test config.
# This allows you to catch a bug in unit tests when something goes wrong in raft meta nodes communication.
raft_listen_host = "192.168.1.100"
raft_advertise_host = "192.168.1.100"

sled_max_cache_size_mb = 64000

# per
snapshot_logs_since_last=10240
# Start up mode: single node cluster
single        = true

databend-meta v1.2.510-nightly-b7c6b089e2-simd(1.78.0-nightly-2024-06-03T08:05:27.094897524Z)

The problem is not solved.

from databend.

drmingdrmer avatar drmingdrmer commented on August 16, 2024

@wubx
Can we close this issue or wait until the RoleInfo optimization is done?

from databend.

wubx avatar wubx commented on August 16, 2024

Sure. I have tested #15730 it's works ok.

from databend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.