This is an automated email from the ASF dual-hosted git repository.

rexxiong pushed a commit to branch branch-0.4
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/branch-0.4 by this push:
     new 8b512e492 [CELEBORN-1224] Make TransportMessage#type transient for 
backward compatibility
8b512e492 is described below

commit 8b512e492f9d9d0767a9be8962e45eb58d26194f
Author: zky.zhoukeyong <[email protected]>
AuthorDate: Tue Jan 16 09:32:27 2024 +0800

    [CELEBORN-1224] Make TransportMessage#type transient for backward 
compatibility
    
    ### What changes were proposed in this pull request?
    When I'm testing upgrading Master from 0.3.2 to 0.4.0, I encountered the 
following error:
    
    
![image](https://github.com/apache/incubator-celeborn/assets/948245/e519a6f6-4d60-4adc-b680-d8e0cb6e04eb)
    
    This PR fixes the backward compatibility exception.
    
    ### Why are the changes needed?
    ditto
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    Manual test
    
    Closes #2228 from waitinfuture/b1224.
    
    Authored-by: zky.zhoukeyong <[email protected]>
    Signed-off-by: Shuang <[email protected]>
---
 .../org/apache/celeborn/common/network/protocol/TransportMessage.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/common/src/main/java/org/apache/celeborn/common/network/protocol/TransportMessage.java
 
b/common/src/main/java/org/apache/celeborn/common/network/protocol/TransportMessage.java
index 0dbc93e66..c14f20b5d 100644
--- 
a/common/src/main/java/org/apache/celeborn/common/network/protocol/TransportMessage.java
+++ 
b/common/src/main/java/org/apache/celeborn/common/network/protocol/TransportMessage.java
@@ -49,7 +49,7 @@ import 
org.apache.celeborn.common.protocol.PbTransportableError;
 public class TransportMessage implements Serializable {
   private static final long serialVersionUID = -3259000920699629773L;
   private static Logger logger = 
LoggerFactory.getLogger(TransportMessage.class);
-  @Deprecated private final MessageType type;
+  @Deprecated private final transient MessageType type;
   private final int messageTypeValue;
   private final byte[] payload;
 

Reply via email to