dombizita commented on PR #3746:
URL: https://github.com/apache/ozone/pull/3746#issuecomment-1255387336

   If we have two separate tables for `NSSummary`s based on the bucket layout 
(legacy and FSO) we can iterate through both tables right after each other if 
there is a task that needs information from both types. I think this approach 
would be nice to avoid issues as we already separated the classes based on the 
bucket layout.
   But as I looked into it for both bucket types we would maintain a table with 
the same columns, as we add long value (ID) and a `NSSummary` in both cases. 
Based on this it would be better to avoid having two same tables.
   Your approach sounds good to me, if I understand correctly the 
`NSSummaryTask.process` would call eg. first `NSSummaryTaskWithFSO.process` and 
after the `NSSummaryTaskWithLegacy.process`, right? 


-- 
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