Skip to content

Conversation

@szetszwo
Copy link
Contributor

What changes were proposed in this pull request?

Before HDDS-13235, KayValue.getValue() deserializes the byte data when it is invoked. TestSchemaOneBackwardsCompatibility expects it will throw an exception since Schema One does not store the values.

HDDS-13235 has changed it to deserialize the byte data before creating an KayValue object. As a result, it will fail earlier.

In the pull request, we change the codec to return null instead of throwing an exception for maintaining backward compatibility.

What is the link to the Apache JIRA

HDDS-13301

How was this patch tested?

By existing tests

@adoroszlai adoroszlai merged commit d207c18 into apache:master Jun 20, 2025
38 of 41 checks passed
@adoroszlai
Copy link
Contributor

Thanks @szetszwo for the patch.

@szetszwo
Copy link
Contributor Author

@adoroszlai , thanks a lot for reviewing and merging this!

aswinshakil added a commit to aswinshakil/ozone that referenced this pull request Jun 23, 2025
…239-container-reconciliation

Commits: 9

05567e6 HDDS-13317. Table should support empty array/String (apache#8676)
803fa31 HDDS-13313. Bump maven-javadoc-plugin to 3.11.2 (apache#8672)
774b3ee HDDS-13315. Bump log4j2 to 2.25.0 (apache#8670)
b86fad8 HDDS-13316. Bump commons-text to 1.13.1 (apache#8669)
c043be7 HDDS-13312. Bump maven-patch-plugin to 1.3 (apache#8673)
db6ed84 HDDS-13294. Remove the Table.close() method. (apache#8658)
e1365a7 HDDS-13286. Fail stream write when the volume is full.  (apache#8644)
af3a0f0 HDDS-13307. integration (flaky) fails with all tests passing (apache#8667)
d207c18 HDDS-13301. Fix TestSchemaOneBackwardsCompatibility (apache#8666)

Conflicts:
	hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerUtils.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants