]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Support Merge with wide-column entities in iterator (#10941)
authorLevi Tamasi <ltamasi@fb.com>
Fri, 11 Nov 2022 02:00:08 +0000 (18:00 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 11 Nov 2022 02:00:08 +0000 (18:00 -0800)
commitdbc4101b89a4d864c021cb7a68fdc5b6202458b4
tree77b29d04530362aba82694dfb800b031c7dc3ec5
parent9460d4b77ea06bfd7be3d334944d023f5509424e
Support Merge with wide-column entities in iterator (#10941)

Summary:
The patch adds `Merge` support for wide-column entities in `DBIter`. As before, the `Merge` operation is applied to the default column of the entity; any other columns are unchanged. As a small cleanup, the PR also changes the signature of `DBIter::Merge` to simply return a boolean instead of the `Merge` operation's `Status` since the actual `Status` is already stored in a member variable.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10941

Test Plan: `make check`

Reviewed By: riversand963

Differential Revision: D41195471

Pulled By: ltamasi

fbshipit-source-id: 362cf555897296e252c3de5ddfbd569ef34f85ef
db/db_iter.cc
db/db_iter.h
db/wide/db_wide_basic_test.cc