gardenia commented on PR #10515: URL: https://github.com/apache/ozone/pull/10515#issuecomment-4883083416
> @gardenia , the progress indicator is the txID, key is "notification-checkpoint", value is txID. How about use the OM metadata table to persist this value? metadata is defined in OMDBDefinition.java, currently it's used to persist data like OM layout version, ranger ozone service version, it can perfectly save the "notification-checkpoint" -> txID data, Or we can introduce a new table to save it, just like the statefulServiceConfig table in SCM, which can be used by any feature of SCM. Thanks for your suggestions. I liked the idea that using something like SetBucketPropertyRequest meant we can piggyback on existing HA storage and ratis requests but I can see how your approach would be cleaner. If we went with your suggestion I'm assuming we would need a need a new Ratis request/response to distribute this to other OMs (similar to OMSetRangerServiceVersionRequest) ? e.g. SaveCheckpointRequest ? Or is there something else to piggy back on for that? -- 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]
