This was the case for 5.5 and 5.6. MySQL 5.7+ will default to wait for the ack before committing locally:
https://dev.mysql.com/doc/refman/5.7/en/server-system-variab...
https://dev.mysql.com/doc/refman/5.7/en/server-system-variab...
You could ask the database to "COMMIT"; it receives the command and processes it, but does not manage to send you notification that it has managed.
There is a further failure state:
The master could be behind when it crashed. So you need to look at it's gtid executed set or re-image it before plugging it back in.
(Not a distributed systems guy; I work on the non HA+replication parts of the server)