Since you want to upgrade the redis version, you need to stop the original redis first.
So, will the data be automatically saved to the hard disk after redis shutdown?
Since you want to upgrade the redis version, you need to stop the original redis first.
So, will the data be automatically saved to the hard disk after redis shutdown?
No if it is an accidental exit. Executing the shutdown command will first save the data locally.
shutdown adopts shutdown save mode by default
You can also manually specify shutdown nosave not to save.