Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwriting Keys Issue #784

Closed
aeg12345 opened this issue Mar 20, 2024 · 1 comment
Closed

Overwriting Keys Issue #784

aeg12345 opened this issue Mar 20, 2024 · 1 comment
Labels
type: question Further information is requested

Comments

@aeg12345
Copy link

aeg12345 commented Mar 20, 2024

问题描述(Issue Description)

请在这里简要描述你遇到的问题。

Please provide a brief description of the issue you encountered.
When I try to restore using rdb reader and rediswriter the keys are overwrited regardless of the configuration option rdb_restore_command_behavior.
I tried panic, ignore,skip all and tried also deleting the key to use the default version but always it overrides the key value.

环境信息(Environment)

日志信息(Logs)

如果有错误日志或其他相关日志,请在这里提供。

If there are any error logs or other relevant logs, please provide them here.
There are not any error logs

其他信息(Additional Information)

请提供任何其他相关的信息,如配置文件、错误信息或截图等。

Please provide any additional information, such as configuration files, error messages, or screenshots.
[rdb_reader]
filepath = "/home/aeg/Desktop/dump_new.rdb"

[redis_writer]
cluster = false # set to true if target is a redis cluster
address = "127.0.0.1:6379" # when cluster is true, set address to one of the cluster node
username = "" # keep empty if not using ACL
password = "samplepass" # keep empty if no authentication is required
tls = false
off_reply = false # ture off the server reply

[advanced]
dir = "data"
ncpu = 0
pprof_port = 0
status_port = 0
log_file = "shake.log"
log_level = "info"
log_interval = 15
rdb_restore_command_behavior = "panic"
pipeline_count_limit = 1024

image

{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"log_level: [info], log_file: [/home/aeg/Desktop/data/shake.log]"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"changed work dir. dir=[/home/aeg/Desktop/data]"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"GOMAXPROCS defaults to the value of runtime.NumCPU [4]"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"not set pprof port"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"create RdbReader: /home/aeg/Desktop/dump_new.rdb"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"create RedisStandaloneWriter: 127.0.0.1:6379"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"not set status port"}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"start syncing..."}
{"level":"info","time":"2024-03-20T15:54:10+03:00","message":"[rdb_reader] start read"}
{"level":"info","time":"2024-03-20T15:54:25+03:00","message":"read_count=[396829], read_ops=[27602.02], write_count=[396828], write_ops=[27602.02], [rdb_reader] rdb file synced: 50.32%"}
{"level":"info","time":"2024-03-20T15:54:40+03:00","message":"read_count=[802114], read_ops=[26785.49], write_count=[802113], write_ops=[26785.49], [rdb_reader] rdb file synced: 50.32%"}
{"level":"info","time":"2024-03-20T15:54:46+03:00","message":"[rdb_reader] rdb file parse done"}
{"level":"info","time":"2024-03-20T15:54:47+03:00","message":"all done"}

@aeg12345 aeg12345 added the type: question Further information is requested label Mar 20, 2024
@suxb201
Copy link
Member

suxb201 commented May 22, 2024

问题是没有出现 100% 吗,可能只是日志间隙没有打印到。

@suxb201 suxb201 closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants