Skip to content

Adjust init raft log index does not take effect #493

Closed

Description

@sukki37

Can be reproduced ?

Yes

Steps:

cd matrixone
make config 
vim system_vars_config.toml 修改日志等级为debug
make build
./mo-server system_vars_config.toml

--------
mysql -h 127.0.0.1 -P 6001 -u dump -p (密码:111)
create database S;
use S;
source ~/table_create.sql
source ~/lineorder_flat_1l.sql
select count(*) from lineorder_flat;

# restart
--------
ctrl+c (quit db-server)
./mo-server system_vars_config.toml 

--------
# back to mysql client
select count(*) from lineorder_flat;

nothing returned

Expected behavior:

the data inserted before the reboot that has not synced to the disk must be recovered.

Actual behavior:

the data is lost

Environment:

  • Version or commit-id (e.g. v0.1.0 or 8b23a93):
  • Hardware parameters:
  • OS type:
  • Others:

Configuration file:

Additional context:

  • Error message from client:
  • Server log:
  • Other information:

image
image

Activity

  1. added
    kind/bug
    priority/p2
    and removed on Aug 25, 2021
  2. added a commit that references this issue on Aug 25, 2021
  3. added a commit that references this issue on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/bugpriority/p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions