Many blogs are saying we need to set that variables in Master-Master replication. and Percona blog seen set slave_exec_mode=IDEMPOTENT. If we set it will ignore the Duplicate key error.
if we set slave_skip_errors=error_code. This also help us to ignore that error.
I Wanted to know which one is best practice and which is more efficient. Can some one please help me with the clear idea?