Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
dSS - digitalSTROM Server
dss-mainline
Commits
02bca6ae
Commit
02bca6ae
authored
3 years ago
by
Andreas Fenkart
Committed by
andreas.fenkart
3 years ago
Browse files
Options
Download
Patches
Plain Diff
metering: add note about archive removal
parent
984b1090
cherry-pick-921e00cb-2
R2111
cherry-pick-921e00cb
1.19.2.1
1.19.2
1.19.2-beta02
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/metering/metering.cpp
+1
-1
src/metering/metering.cpp
with
1 addition
and
1 deletion
+1
-1
src/metering/metering.cpp
+
1
−
1
View file @
02bca6ae
...
...
@@ -561,7 +561,7 @@ bool MeteringImpl::recreateDeadArchives(const std::vector<ArchiveId>& archiveIds
for
(
const
auto
&
archiveId
:
archiveIds
)
{
if
(
m_archives
->
withoutUpdates
(
archiveId
))
{
DS_WARNING
(
"Metering DB "
,
m_archives
->
filename
(
archiveId
),
" is out of date. removing "
);
m_archives
->
create
(
archiveId
);
m_archives
->
create
(
archiveId
);
// bogus, file is not removed, TODO add unit test to verify
restartCached
=
true
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets