As per Magento's document , function responsible for indexing of cataloginventory_stock
is Magento\CatalogInventory\Model\Indexer\Stock::execute($ids)
.
For debugging purpose, I have modified this function and added var_dump($ids);exit;
at the top and ran command php bin/magento indexer:reindex cataloginventory_stock
but my code wasn't fired and indexing was completed successfully.
Which class is actually responsible for the re-indexing of cataloginventory_stock
?