Server switch the "dbfilename" while running

Server:

  • AWS Linux AMI 2023

Software:

  • Docker with Redisearch

Problem:
I am importing a big file into Redisearch and after a while, the server report errors and my import process stop working.

Server Logs

...
redis  | 62:C 18 Sep 2023 18:26:46.350 * RDB: 4 MB of memory used by copy-on-write
redis  | 1:M 18 Sep 2023 18:26:46.388 * Background saving terminated with success
redis  | 1:M 18 Sep 2023 18:29:09.651 * 10000 changes in 60 seconds. Saving...
redis  | 1:M 18 Sep 2023 18:29:09.656 * Background saving started by pid 69
redis  | 69:C 18 Sep 2023 18:29:10.363 * DB saved on disk
redis  | 69:C 18 Sep 2023 18:29:10.368 * RDB: 3 MB of memory used by copy-on-write
redis  | 1:M 18 Sep 2023 18:29:10.459 * Background saving terminated with success
redis  | 1:M 18 Sep 2023 18:30:59.955 * DB saved on disk
redis  | 1:M 18 Sep 2023 18:31:00.490 * DB saved on disk
redis  | 1:M 18 Sep 2023 18:31:02.033 * DB saved on disk
redis  | 1:M 18 Sep 2023 18:31:02.467 * DB saved on disk
redis  | 1:M 18 Sep 2023 18:31:02.685 * DB saved on disk
redis  | 1:M 18 Sep 2023 18:31:04.206 # Failed opening the RDB file zzh (in server root dir /etc/cron.d) for saving: Permission denied
redis  | 1:M 18 Sep 2023 18:31:04.853 # Failed opening the RDB file crontab (in server root dir /etc) for saving: Permission denied
redis  | 1:M 18 Sep 2023 18:33:34.470 * 10000 changes in 60 seconds. Saving...
redis  | 1:M 18 Sep 2023 18:33:34.472 * Background saving started by pid 77
redis  | 77:C 18 Sep 2023 18:33:34.472 # Failed opening the RDB file crontab (in server root dir /etc) for saving: Permission denied
redis  | 1:M 18 Sep 2023 18:33:34.573 # Background saving error
redis  | 1:M 18 Sep 2023 18:33:40.000 * 10000 changes in 60 seconds. Saving...
redis  | 1:M 18 Sep 2023 18:33:40.002 * Background saving started by pid 78
redis  | 78:C 18 Sep 2023 18:33:40.002 # Failed opening the RDB file crontab (in server root dir /etc) for saving: Permission denied
redis  | 1:M 18 Sep 2023 18:33:40.103 # Background saving error
...

Redis Config
I do not have a specific config, so all default value.
After Redis crash, this change:

config get db*
1) "dbfilename"
2) "crontab"

Questions
When started, the value was “dump.rdb”. How/who/why this configuration been changed while importing data?

More information:

  • While importing, I could see the “dump.rdb” growing and could make a copy after issuing the “save” command.
  • After restarting the server, the “dbfilename” come back to “dump.rdb”.