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:
1 parent
c7f7236b88
commit
9f19057036
1 file changed
+1
-1
@@ -157,6 +157,6 @@ impl ConfigVersionCache {
|
|||||||
self.shmem
|
self.shmem
|
||||||
.data()
|
.data()
|
||||||
.datastore_generation
|
.datastore_generation
|
||||||
.fetch_add(1, Ordering::Acquire)
|
.fetch_add(1, Ordering::AcqRel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user