duongkame commented on PR #4194:
URL: https://github.com/apache/ozone/pull/4194#issuecomment-1408081382

   > Currently, the code is differentiating current keys and all keys and has a 
lot of code to make the distinction between them. Would keeping the keys to 
always be a sorted list be cleaner? The index 0 or n-1 is always the current 
key and we copy and move the entire list around in the code as needed. Half way 
done will take a deeper look at ratis integration and tests later.
   
   Thanks for the suggestion, @kerneltime. It was started in the most natural 
way which apparently not the smartest one. All the code related to the 
distinction has been cleaned up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to