Repository navigation
Address system storage by URI scheme, drop JDBC path (#398) - #410
Merged
Merged
Conversation
System labels no longer reference named Storage entities seeded into the metastore. Instead their storage is a self-describing datastore:// URI resolved directly in getStorage: datastore://__sys__/metastore -> RDB-backed system metastore (local+global) datastore://<namespace>/<table> -> HBase datastore This removes the LOCAL/JDBC Storage entities and their boot-time seeding from Metadata, and collapses getStorage to a single scheme. The JDBC-only materialization path is dropped as well: nothing runs a label on a standalone JDBC store in production (metastore labels are local-backed). Removes JdbcStorage/JdbcOptions, the is-JdbcStorage branch in LabelEntity.materialize, the StorageType.JDBC materialize branch, and JdbcHashLabel's create factory. JdbcHashLabel itself stays as the delegate base of LocalBackedJdbcHashLabel. Legacy bare-name storage references still resolve via the storages map, so existing labels are unaffected. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
em3s
force-pushed
the
feat/issue-398-storage-uri-scheme
branch
from
July 11, 2026 14:15
c4514cd to
4ced41a
Compare
1 task done
…e-uri-scheme # Conflicts: # engine/src/main/kotlin/com/kakao/actionbase/v2/engine/Graph.kt # engine/src/main/kotlin/com/kakao/actionbase/v2/engine/metadata/Metadata.kt # engine/src/test/kotlin/com/kakao/actionbase/v2/engine/test/GraphFixtures.kt
Merging main brought in the in-memory ByteArrayStore local metastore (#413), whose ByteArrayIndexedLabel rejects unknown index names. The empty-src scan test still requested created_at_desc, which the old H2 path silently ignored. Route it through indexName=null (__default__), the real scan path for metastore-backed HASH labels. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…by the merge #411 removed the dead v1 online_metadata constant on main; merging main back into this branch resurrected it (unused). Remove it again to match main. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The URI-scheme convention is documented once at EngineConstants; the "no longer seeded / now references" comments only narrate the change and duplicate that doc. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Author
|
No breaking change, no user-facing change. Optimistic merge. |
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Address system storage by URI scheme instead of named
Storageentities, and drop the unused JDBC-only label path. Follows #399 (which blocked Storage creation) and continues retiring the v2Storagemodel (#398).Part of #398
Scheme
A label's storage is now a self-describing
datastore://URI resolved directly ingetStorage:datastore://__sys__/metastore— RDB-backed system metastore (local + global)datastore://<namespace>/<table>— HBase datastoreBare-name storage references still resolve via the
storagesmap, so existing labels are unaffected.Changes
getStoragecollapses to a single scheme;__sys__/metastoreresolves to a local-backed metastore storage.Metadatasystem labels referencedatastore://__sys__/metastore; the LOCAL/JDBC Storage entities and their boot-time seeding are removed.JdbcStorage/JdbcOptions, theis JdbcStoragebranch, theStorageType.JDBCmaterialize branch, andJdbcHashLabel's create factory.JdbcHashLabelstays as the delegate base ofLocalBackedJdbcHashLabel.How to Test
./gradlew :engine:test— system metadata boots and materializes over the metastore URI; existing labels with bare-name/HBase storage continue to resolve.AI Assistance