]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend:... 39157/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Fri, 29 Jan 2021 06:44:36 +0000 (14:44 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Fri, 29 Jan 2021 06:44:36 +0000 (14:44 +0800)
commite1f8b585bdcf05b81696130eda87daa72f1ecd11
treef4d2359b63e8e063f8d0a6a7faa349cf6c331b4e
parent9fea82cacc62bbd484723cdbc8c6729a89d7f23c
crimson/osd: capture "intervals_included" by value in ReplicatedRecoveryBackend::submit_push_data

ReplicatedRecoveryBackend::submit_push_data()'s parameter "intervals_included" might be an
local varaiable in the outer method, so we should capture it by value to avoid a dangling
reference in the inner lambda

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/osd/replicated_recovery_backend.cc