Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Titan followup changes #390

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

v01dstar
Copy link

@v01dstar v01dstar commented Oct 3, 2024

  • Reassign ValueType 0x10 to kTypeTitanColumnFamilyBlobIndex and 0x11 to kTypeTitanBlobIndex, and add WriteBatchInternal::PutTitanBlobIndex() for Titan to use.
  • Move StatisticsImpl implementation from statistics.cc to statistics_impl.h. Template code should be in header files instead of cc files, otherwise, there will be undefined symbol error while linking.

Maintainer's note:
When upgrading RocksDB in the future, we need to check all the occurrence of kTypeBlobIndex and kTypeColumnFamilyBlobIndex (for blob indices in non-default cf) in RocksDB's repo, and add kTypeTitanBlobIndex and kTypeTitanColumnFamilyBlobIndex accordingly. Anywhere kTypeColumnFamilyBlobIndex exists, we need to add kTypeTitanColumnFamilyBlobIndex, where kTypeBlobIndex exists, we need to add kTypeTitanBlobIndex.

@ti-chi-bot ti-chi-bot bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 3, 2024
@v01dstar v01dstar force-pushed the titan-followup branch 6 times, most recently from be2a999 to a68a6d1 Compare October 8, 2024 02:29
db/dbformat.h Outdated Show resolved Hide resolved
db/dbformat.h Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 8, 2024
Signed-off-by: Yang Zhang <[email protected]>
Copy link

ti-chi-bot bot commented Oct 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Connor1996, LykxSassinator

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Connor1996,LykxSassinator]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Oct 8, 2024
Copy link

ti-chi-bot bot commented Oct 8, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-08 03:08:51.611409949 +0000 UTC m=+929087.031622946: ☑️ agreed by Connor1996.
  • 2024-10-08 03:26:30.388866581 +0000 UTC m=+930145.809079592: ☑️ agreed by LykxSassinator.

@v01dstar
Copy link
Author

v01dstar commented Oct 8, 2024

/run-all-tests

@ti-chi-bot ti-chi-bot bot merged commit a739169 into tikv:8.10.tikv Oct 8, 2024
5 checks passed
@v01dstar v01dstar deleted the titan-followup branch October 8, 2024 05:34
v01dstar added a commit to v01dstar/rocksdb that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants