Skip to content

Commit 20cca9d

Browse files
author
Tim Bruijnzeels
committed
Do not skip migration of pubd 0.9.0 (fix: 928)
1 parent 456e8d5 commit 20cca9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ it would result in the child CA rejecting the parent response, log an error, and
3939
try synchronising again, but it would not result in any changes to the CA certificate
4040
issued by the parent to the child.
4141

42+
Furthermore, this release fixes an issue where the data for a Publication Server
43+
(if configured) would not be migrated if the previous Krill version was 0.9.0.
44+
See issue #928.
45+
4246
## 0.10.1 'Slash'
4347

4448
Krill 0.10.0, or rather rpki-rs 0.15.4 became quite strict in its validation of

src/upgrades/pre_0_10_0/pubd_migration.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl UpgradeStore for PublicationServerMigration {
5252
if !self.current_kv_store.has_scope("0".to_string())? {
5353
Ok(false)
5454
} else {
55-
Ok(self.current_kv_store.version_is_after(KrillVersion::release(0, 9, 0))?
55+
Ok(self.current_kv_store.version()? >= KrillVersion::release(0, 9, 0)
5656
&& self
5757
.current_kv_store
5858
.version_is_before(KrillVersion::candidate(0, 10, 0, 1))?)

0 commit comments

Comments
 (0)