Complete the code to start an AOF rewrite process in Redis.
redis-cli [1]The BGREWRITEAOF command triggers the background AOF rewrite process in Redis.
Complete the sentence: The AOF rewrite process creates a {{BLANK_1}} version of the AOF file.
The AOF rewrite process creates a [1] version of the AOF file.The rewrite process creates a temporary AOF file to avoid blocking Redis.
Fix the error in the statement about AOF rewrite: 'The rewrite process blocks all writes until it finishes.'
The rewrite process [1] all writes until it finishes.The AOF rewrite process does not block writes; it runs in the background to avoid blocking.
Fill both blanks to describe the AOF rewrite process: 'Redis creates a {{BLANK_1}} AOF file and then {{BLANK_2}} it to replace the old one.'
Redis creates a [1] AOF file and then [2] it to replace the old one.
Redis creates a temporary AOF file and then renames it to replace the old AOF file after rewrite.
Fill all three blanks to explain the AOF rewrite process: 'During rewrite, Redis {{BLANK_1}} new commands to a buffer, writes a {{BLANK_2}} AOF file, and finally {{BLANK_3}} the buffer to the new file.'
During rewrite, Redis [1] new commands to a buffer, writes a [2] AOF file, and finally [3] the buffer to the new file.
During rewrite, Redis appends new commands to a buffer, writes a temporary AOF file, and finally appends the buffer to the new file to keep it up to date.