Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ OZONE-SITE.XML_ozone.scm.container.size=1GB
OZONE-SITE.XML_hdds.datanode.dir=/data/hdds
OZONE-SITE.XML_hdds.datanode.volume.min.free.space=100MB
OZONE-SITE.XML_ozone.http.basedir=/tmp/ozone_http
OZONE-SITE.XML_ozone.client.hbase.enhancements.allowed=true
OZONE-SITE.XML_ozone.fs.hsync.enabled=true
OZONE-SITE.XML_ozone.hbase.enhancements.allowed=true

# If SCM sends container close commands as part of upgrade finalization while
# datanodes are doing a leader election, all 3 replicas may end up in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ with_this_version_pre_finalized() {

with_this_version_finalized() {
execute_robot_test "$SCM" -N "${OUTPUT_NAME}-check-finalization" --include finalized upgrade/check-finalization.robot
execute_robot_test "$SCM" -N "${OUTPUT_NAME}-hsync" debug/ozone-debug-lease-recovery.robot
execute_robot_test "$SCM" -N "${OUTPUT_NAME}-hsync" admincli/lease-recovery.robot
execute_robot_test "$SCM" -N "${OUTPUT_NAME}-freon-hsync" freon/hsync.robot
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Freon DFSG
Test HSync lease recover prior to finalization
Create volume bucket and put key
${o3fs_path} = Format FS URL o3fs ${VOLUME} ${BUCKET} ${KEY}
${result} = Execute and checkrc ozone debug recover --path=${o3fs_path} 255
${result} = Execute and checkrc ozone admin om lease recover --path=${o3fs_path} 255
Should contain ${result} It belongs to the layout feature HBASE_SUPPORT, whose layout version is 7
${ofs_path} = Format FS URL ofs ${VOLUME} ${BUCKET} ${KEY}
${result} = Execute and checkrc ozone debug recover --path=${ofs_path} 255
${result} = Execute and checkrc ozone admin om lease recover --path=${ofs_path} 255
Should contain ${result} It belongs to the layout feature HBASE_SUPPORT, whose layout version is 7

Generate key for o3fs by HSYNC prior to finalization
Expand Down