From my nascent understanding, those temp files get left behind if redis stops before the entire file is written out. The database stays in memory, so the dump is just to keep data between runs (e.g. The container is rebuilt, or machine reboots).
2 Likes