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:
parent
c7f7236b88
commit
9f19057036
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue