]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/cyanstore: implement OP_MERGE_COLLECTION
authorKefu Chai <k.chai@proxmox.com>
Tue, 5 May 2026 06:53:48 +0000 (14:53 +0800)
committerKefu Chai <k.chai@proxmox.com>
Tue, 5 May 2026 11:45:58 +0000 (19:45 +0800)
commit59dd31b71a5d045400133b3da3637fd0fa6f1123
tree777a3e630984198b1c034adb20dbd6cc85c6d219
parentdacf8cbc90fe02291b5133aaf3a9874ca02e1dc4
crimson/os/cyanstore: implement OP_MERGE_COLLECTION

Add a handler for Transaction::OP_MERGE_COLLECTION in CyanStore's
do_transaction_no_callbacks() and the corresponding _merge_collection()
implementation. Moves all objects from the source collection into the
destination, updates the destination's split_bits, and removes the
source collection from the store's collection map.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/os/cyanstore/cyan_store.h