]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: let the first id to be 1
authorKefu Chai <kchai@redhat.com>
Mon, 22 Feb 2021 11:36:54 +0000 (19:36 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Feb 2021 07:17:38 +0000 (15:17 +0800)
commit2483a486b85621cb7a1ef19eeeac4dec7d997deb
treeea0e9f6d7edeec95e124577d82f607e9c6ef9dc7
parent34a3624437621844dedec9c1395a9749dd5f2f95
crimson/common: let the first id to be 1

it'd be simpler if we can use 0 as a sentry for sequencer. 0 would be
id of the last completed operation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/operation.h