Comments added in the code
Shard state check updated to consider the initialization phase of index creation and not throw a critical
Bumped to 0.999 in the module