From eeff769918f8829803dfdf213c35e47c7b44c7e3 Mon Sep 17 00:00:00 2001 From: nbugel <niels.alexander.bugel@cern.ch> Date: Tue, 14 May 2024 13:51:30 +0200 Subject: [PATCH 1/2] Changed cta.archivefile.max_size_gb to correctly use powers of 1000 instead of 1024 (#466) --- frontend/common/FrontendService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/common/FrontendService.cpp b/frontend/common/FrontendService.cpp index 683dfa482f..90d319f123 100644 --- a/frontend/common/FrontendService.cpp +++ b/frontend/common/FrontendService.cpp @@ -180,7 +180,7 @@ FrontendService::FrontendService(const std::string& configFilename) : m_archiveF // Initialise the Frontend auto archiveFileMaxSize = config.getOptionValueUInt("cta.archivefile.max_size_gb"); // Convert archiveFileMaxSize from GB to bytes - m_archiveFileMaxSize = archiveFileMaxSize.has_value() ? static_cast<uint64_t>(archiveFileMaxSize.value()) * 1024 * 1024 * 1024 : 0; + m_archiveFileMaxSize = archiveFileMaxSize.has_value() ? static_cast<uint64_t>(archiveFileMaxSize.value()) * 1000 * 1000 * 1000 : 0; { // Log cta.archivefile.max_size_gb -- GitLab From ce010be0ba9809660ee9594439d82b10bb843154 Mon Sep 17 00:00:00 2001 From: nbugel <niels.alexander.bugel@cern.ch> Date: Wed, 15 May 2024 10:18:23 +0200 Subject: [PATCH 2/2] Updated release notes --- ReleaseNotes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index d64b925a40..76636a0b18 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -18,6 +18,7 @@ - cta/CTA#682 - Generate taped's log file with correct owner and group - cta/CTA#683 - Fix problems with field consistency in json logging - cta/CTA#688 - Fix tapeserver umask to allow directory creation in POSIX filesystems +- cta/CTA#466 - Changed `cta.archivefile.max_size_gb` to correctly use powers of 1000 instead of 1024 ### Continuous Integration - cta/CTA#615 - Going to xrdfs xattr API for EOS5 extended attribute tests (EOS >= 5.2.17) -- GitLab