config: version cache: fix ordering of datastore generation increase

Fixes: 118deb4d (pbs-datastore: use ConfigVersionCache for datastore)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-06-03 09:06:23 +02:00
parent c7f7236b88
commit 9f19057036
1 changed files with 1 additions and 1 deletions

View File

@ -157,6 +157,6 @@ impl ConfigVersionCache {
self.shmem
.data()
.datastore_generation
.fetch_add(1, Ordering::Acquire)
.fetch_add(1, Ordering::AcqRel)
}
}