Was this an accident or are you trying to clear the contents of the historical?
I just tested this on a standalone deployment.
• I removed the info_dir directory
• I waited for a few minutes and nothing happened on the rest of the directories
• The info_dir directory did not appear again.
I restarted all services:
• after a little bit, it rebuilt the info_dir directory and all of its content
• since this is a single historical, it wasn't clear if this was just the coordinator asking it to rebuild or if the historical rebuilt based on the content of the segment-cache.
• I looked at the logs:
◦ coordinator log - does not show any new segment assignment
◦ historical log - shows Loading and announcing segments
I suspect you will see the same, the info_dir content will be recreated after you restart the historical.