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

refactor: modify exist wal #288

Merged
merged 7 commits into from
Oct 13, 2022
Merged

Conversation

Rachelint
Copy link
Contributor

Which issue does this PR close?

Closes #283

Rationale for this change

see #283

What changes are included in this PR?

  • Add WalLocation to replace original RegionId.
  • Add scan method to WalManager.

Are there any user-facing changes?

None.

How does this change test

Test by exist ut.

@Rachelint Rachelint force-pushed the modify-exist-wal branch 2 times, most recently from dcea234 to 33aeeeb Compare October 10, 2022 06:44
wal/src/manager.rs Outdated Show resolved Hide resolved
wal/src/manager.rs Outdated Show resolved Hide resolved
wal/src/manager.rs Outdated Show resolved Hide resolved
wal/src/manager.rs Outdated Show resolved Hide resolved
@Rachelint Rachelint force-pushed the modify-exist-wal branch 3 times, most recently from 3e67196 to 26c9963 Compare October 12, 2022 12:04
analytic_engine/src/instance/open.rs Show resolved Hide resolved
catalog_impls/src/volatile.rs Outdated Show resolved Hide resolved
common_types/src/table.rs Show resolved Hide resolved
Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Let's wait for the CI finishes.

@Rachelint Rachelint merged commit a5de2d0 into apache:main Oct 13, 2022
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* add WalLocation.

* add scan to WalManager.

* unify the variable name to `wal_location`.

* make use of the region_id in wal_location.

* add `shard_id` in `TableData` and modidy related path to pass it to `TableData` while open/create/alter table, especially things about manifest.

* refactor wal's `ScanRequest`.

* refactor by cr.
@Rachelint Rachelint deleted the modify-exist-wal branch May 27, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify the exist wal interface to adapt the new design
2 participants