Introduction
DISCARD lets you stop a group of commands you started with MULTI, so nothing changes in the database.
You started a transaction but want to cancel it before running any commands.
You realize a mistake in your commands and want to avoid applying wrong changes.
You want to reset the transaction state and start fresh.
You want to safely exit a transaction block without making changes.