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

   @dombizita @smengcl Another solution to this, would be to have a common 
NSSummary table for both bucket layouts. Instead of calling both tasks, we 
could add `process` and `reprocess` methods to `NSSummaryTask` and call that 
class in place of the subclasses. `NSSummaryTask.process` will call both 
`NSSummaryTaskWithFSO.process` and `NSSummaryTaskWithLegacy.process` and we 
will do the same for `reprocess`. `NSSummaryTask` will also manage common 
setups or operations for NSSummary table, such as clearing it. What do you 
think about this approach?


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