Internal error in RDB reading offset 0

Hi,

I have updated GitLab version to latest - v14.4.1 in omnibus docker environment.

I have taken the docker volumes and imported to another server having same GitLab version. But getting the below error now.

==> /var/log/gitlab/redis/current <==
2021-11-05_11:50:49.29012 4412:C 05 Nov 2021 11:50:49.290 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2021-11-05_11:50:49.29013 4412:C 05 Nov 2021 11:50:49.290 # Redis version=6.0.16, bits=64, commit=5895d119, modified=1, pid=4412, just started
2021-11-05_11:50:49.29013 4412:C 05 Nov 2021 11:50:49.290 # Configuration loaded
2021-11-05_11:50:49.29124 4412:M 05 Nov 2021 11:50:49.291 * Running mode=standalone, port=0.
2021-11-05_11:50:49.29125 4412:M 05 Nov 2021 11:50:49.291 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
2021-11-05_11:50:49.29126 4412:M 05 Nov 2021 11:50:49.291 # Server initialized
2021-11-05_11:50:49.29127 4412:M 05 Nov 2021 11:50:49.291 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2021-11-05_11:50:49.29129 4412:M 05 Nov 2021 11:50:49.291 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled (set to 'madvise' or 'never').
2021-11-05_11:50:49.29157 4412:M 05 Nov 2021 11:50:49.291 # Short read or OOM loading DB. Unrecoverable error, aborting now.
2021-11-05_11:50:49.29158 4412:M 05 Nov 2021 11:50:49.291 # Internal error in RDB reading offset 0, function at rdb.c:2419 -> Unexpected EOF reading RDB file
2021-11-05_11:50:49.29161 [offset 0] Checking RDB file dump.rdb
2021-11-05_11:50:49.29161 --- RDB ERROR DETECTED ---
2021-11-05_11:50:49.29161 [offset 0] Unexpected EOF reading RDB file
2021-11-05_11:50:49.29163 [additional info] While doing: start
2021-11-05_11:50:49.29163 [additional info] Reading type 0 (string)
2021-11-05_11:50:49.29163 [info] 0 keys read
2021-11-05_11:50:49.29164 [info] 0 expires
2021-11-05_11:50:49.29165 [info] 0 already expired

The GitLab UI was showing 500 error. I have removed the file - dump.rdb and then the UI is working fine.

What may be causing this issue?

Is it ok to remove the dump.rdb file ?

Please help, Thanks.