You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/03/05 09:19:00 UTC
[jira] [Created] (HDDS-12477) Do not force RATIS/ONE replication in TestDataUtil#createKey
Attila Doroszlai created HDDS-12477:
---------------------------------------
Summary: Do not force RATIS/ONE replication in TestDataUtil#createKey
Key: HDDS-12477
URL: https://issues.apache.org/jira/browse/HDDS-12477
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
Improve {{TestDataUtil#createKey}} to avoid the need to pass {{ReplicationConfig}} unnecessarily.
- Allow {{TestDataUtil#createKey(OzoneBucket, String, ReplicationConfig, byte[])}} to be called with {{repConfig=null}}, in which case it should create the key using {{OzoneBucket#createKey(String, long)}}
- Change {{createKey(OzoneBucket, String, byte[])}} to pass {{null}} instead of {{RATIS/ONE}}
- Tests that call {{createKey(OzoneBucket, String, byte[])}} and start failing should be changed to pass RATIS/ONE explicitly.
- Change callers of {{TestDataUtil#createKey(OzoneBucket, String, ReplicationConfig, byte[])}} to not pass {{ReplicationConfig}}, unless necessary for the test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org