I had an error that took me hours to fix. When running setup:upgrade at Magento 2, I got stuck at Running schema recurring...State for the same indexer already exists.
So, I figured out that flat catalog product has a index at "Processing".
I tried to run indexer:reset and all index was reseted, except the one I need, I got an "State for the same indexer already exists"
If I try running indexer again, I got a "Product Flat Data index is locked by another reindex process. Skipping."