I think you can do it on the application level if you want. You can start a transaction of MongoDB in a session, and update data inside mongo, in the same context, update the redis cache too. If that's successful, commit the transaction, else rollback.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think you can do it on the application level if you want. You can start a transaction of MongoDB in a session, and update data inside mongo, in the same context, update the redis cache too. If that's successful, commit the transaction, else rollback.