Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Persist currently started allocation IDs to index metadata #14964
referenced this pull request
Nov 24, 2015
This looks good. I left some minor suggestion. Note the comment about storing allocation ids per shard in the meta data. I know the allocation Ids are unique so in theory we can throw them in one big pile, but I think it will be clearer in terms of code and API later on to have them separated.
Pushed another set of changes. In IndexMetaData, the activeAllocationIds are now stored as
@bleskes Another set of changes: