Description
OakDirectory currently returns a child builder for openOuput call for a index file. Instead of just returning a new builder it should first remove existing NodeState (if any) and then return a new builder.
This would be confirming to Lucene FSDirectory implementation