mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-08 20:10:00 +00:00
We use a callback in recovery land during primary relocation to ensure the relocation target is on at least the same version as the relocation source. This callback is typed as a Callback<Long> which is an unnecessary custom type (we can use Consumer<T> or the appropriate primitive callbacks). Here, we can use LongConsumer. Relates #25081