Support for index refresh on flush