LevelDB, RocksDB and BoltDB support
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by locating the registry plugin architecture and reading how existing database integrations are organized. Then assess support for reading LevelDB and RocksDB directories, read-only access by default, byte-oriented key/value views, prefix filtering and range scans, and RocksDB column families. Done means these requirements are covered; the issue names no files or tests, so identify the relevant entry points and validation approach in the project first.
索引モデルが issue の本文から書いたものです。
説明
Problem
None of the embedded key-value stores LevelDB, RocksDB and BoltDB is supported, so inspecting an application's local data means writing a throwaway program. They run in-process with no server, so the only way in is to open the files, the way TablePro opens a SQLite file today. Folds in #524.
Proposed solution
A registry plugin that opens a local store:
- Point at a LevelDB or RocksDB directory, or a BoltDB file. Read-only by default, since these formats hold a single-process lock and opening one under a running app is unsafe. When another process holds the lock, say so plainly instead of waiting on it.
- Keys and values in the grid, with a hex and a text view, since all three stores are byte-oriented.
- Prefix filtering and range scans, since there is no query language to fall back on.
- The sidebar shows column families for RocksDB and buckets, nested ones included, for BoltDB. LevelDB has one flat keyspace.
Reading the files
- LevelDB and RocksDB: link their C APIs as static libraries published through
apple/Libs/, or read the on-disk format (sorted table files, the manifest and the write-ahead log, with their compression) in Swift. The C APIs are the smaller risk. - BoltDB (bbolt, which etcd uses) is Go only, with no C library, but its file is one B+tree of fixed-size pages, small enough to read in Swift.
Open question
Whether writes ever come after the read-only version, and for which store first.
Alternatives considered
A throwaway script per inspection.
Platform
macOS
Related database type
N/A / General
- 主要言語
- Swift
- スター
- 6.2k
- フォーク
- 412
- 平均マージ
- 3時間 56分
- マージ済み PR(30日)
- 669
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TableProApp/TablePro のほかの issue
-
Linux: Remember Password fails silently when there is no default keyring対応中かも @datlechin が今日担当しました。 オープンbug platform-linux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TableProApp/TablePro#4098 ·
メンテナーはふだん 1 日以内に返信
-
bug platform-linux
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
TableProApp/TablePro#4101 ·
メンテナーはふだん 1 日以内に返信
-
bug platform-linux
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
TableProApp/TablePro#4099 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement platform-macos
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
TableProApp/TablePro#4071 ·
メンテナーはふだん 1 日以内に返信
-
enhancement platform-macos
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
TableProApp/TablePro#4070 ·
メンテナーはふだん 1 日以内に返信
TableProApp/TablePro の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
OneBusAway/vehicle-positions#260 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
eliasstravik/herdr-projects#789 · コメント 1 件 ·
-
follow-up needs-triage S3: minor
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
manaflow-ai/cmux#38032 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
arkavo-org/ArkavoKit#70 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vorssaint/vorssaint-utils#3933 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信