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

Upcoming Priorities #231

Closed
scsmithr opened this issue Oct 24, 2022 · 1 comment
Closed

Upcoming Priorities #231

scsmithr opened this issue Oct 24, 2022 · 1 comment
Assignees

Comments

@scsmithr
Copy link
Member

scsmithr commented Oct 24, 2022

Upcoming Priorities

Raft

Will be worked on immediately after the catalog is finished.

This will slot into executing every query. It's unlikely we'll use the the current raft crate as it is, as that was done under different assumptions regarding storage abstractions.

This next pass will have raft/sharding integrated into some of the execution nodes. Specifically when reading from or writing to a table, the planning will reference some partition map. The node responsible for reading from a partition will have raft integration such that when the plan is executed, each partition being read will undergo consensus. A similar thing will happen for writes.

Partitioning

For the first pass, each table will consist of a single shard. The second pass will partition by hash. This second pass will also include some work with partition splitting and how we update the partition map that is referenced during the planning phase.

WAL/Recovery

WAL will depend on what/how we implement raft logging. The first pass at raft will likely not have sufficient logging capabilities to act as a proper WAL. Discovery will happen during the raft implementation.

Transactions (MVCC)

Depends on how we do logging.

@scsmithr scsmithr self-assigned this Oct 24, 2022
@scsmithr scsmithr pinned this issue Oct 28, 2022
@scsmithr
Copy link
Member Author

scsmithr commented Oct 31, 2022

pgsrv: Implement extended query protocol

  1. Persistent catalog
  2. Minimal set of extended protocol for benchmarking
  3. Raft

@scsmithr scsmithr unpinned this issue Nov 21, 2022
@scsmithr scsmithr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2022
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

No branches or pull requests

1 participant