You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2024/01/22 09:37:57 UTC

[PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

adoroszlai opened a new pull request, #6051:
URL: https://github.com/apache/ozone/pull/6051

   ## What changes were proposed in this pull request?
   
   Revert HDDS-9426 because it introduced incompatible proto changes (https://github.com/apache/ozone/pull/6044#issuecomment-1903577742).  These were not caught because backwards compatibility check was still comparing to Ozone 1.3.0's proto definition.  But HDDS-9426 is not present in 1.4.0, it was implemented during the release process.  So we need it to be compatible with 1.4.0 proto definitions.
   
   https://issues.apache.org/jira/browse/HDDS-9426
   
   ## How was this patch tested?
   
   Verified backwards compatibility check does not report any errors with `proto.lock` changes from #6044 after this revert.
   
   ```
   $ mvn -DskipTests clean verify
   ...
   [INFO] --- proto-backwards-compatibility:1.0.7:backwards-compatibility-check (default) @ ozone-interface-client ---
   [INFO] protolock cmd line: hadoop-ozone/interface-client/target/protolock-bin/protolock status --lockdir=hadoop-ozone/interface-client/target/classes --protoroot=hadoop-ozone/interface-client/target/classes
   [INFO] protolock cmd line: hadoop-ozone/interface-client/target/protolock-bin/protolock commit --lockdir=hadoop-ozone/interface-client/target/classes --protoroot=hadoop-ozone/interface-client/target/classes
   [INFO] Backwards compatibility check passed.
   ```


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #6051:
URL: https://github.com/apache/ozone/pull/6051#issuecomment-1904426996

   Thanks @swamirishi, I'll wait a bit for others to check.
   
   If anyone wants to merge this, please add the following in the "extended description":
   
   ```
   Reason for revert: incompatible proto changes
   
   This reverts commit 05284942fa5ec8026de0618f61af9b7cd758a90b.
   This reverts commit d969689e83241e2d5bec2c878324ee1ce84c0fe4.
   ```


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #6051:
URL: https://github.com/apache/ozone/pull/6051


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #6051:
URL: https://github.com/apache/ozone/pull/6051#issuecomment-1904533020

   Thanks @aswinshakil, @swamirishi for the review.
   
   > I was not aware of this incompatibility.
   
   No problem, that's why the check exists.  For future releases we should update `proto.lock` sooner, maybe right after cutting the release branch.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #6051:
URL: https://github.com/apache/ozone/pull/6051#issuecomment-1904375880

   @swamirishi CI cannot verify compatibility until `proto.lock` changes for 1.4.0 are in.  But it cannot be committed until this incompatible change is there.  So the simplest way is:
   
   1. revert
   2. commit `proto.lock`
   3. re-create PR for this change


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "swamirishi (via GitHub)" <gi...@apache.org>.
swamirishi commented on PR #6051:
URL: https://github.com/apache/ozone/pull/6051#issuecomment-1904420357

   > @swamirishi CI cannot verify compatibility until `proto.lock` changes for 1.4.0 are in. But it cannot be committed until this incompatible change is there. So the simplest way is:
   > 
   > 1. revert
   > 2. commit `proto.lock`
   > 3. re-create PR for this change
   
   Makes sense


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] Revert "HDDS-9426. Calculate Exclusive size for deep cleaned snapshot's deleted directories. (#5579)" [ozone]

Posted by "swamirishi (via GitHub)" <gi...@apache.org>.
swamirishi commented on PR #6051:
URL: https://github.com/apache/ozone/pull/6051#issuecomment-1904366102

   @aswinshakil Can we make the changes to make the changes protobuf compatible instead of reverting the commit all together. I believe it shouldn't be that big a change.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org