What was the relationship between the French Revolution, slave revolution in the Caribbean and the abolition of slavery in Saint-Domingue and in the French empire?

What was the relationship between the French Revolution, slave revolution in the Caribbean and the abolition of slavery in Saint-Domingue and in the French empire?