Skip to content

Add metadata RPC support for namespace index registration#409

Open
SophiaUgo wants to merge 2 commits into
NoKV-Lab:mainfrom
SophiaUgo:feature/network-rpc-register-namespace-index
Open

Add metadata RPC support for namespace index registration#409
SophiaUgo wants to merge 2 commits into
NoKV-Lab:mainfrom
SophiaUgo:feature/network-rpc-register-namespace-index

Conversation

@SophiaUgo

Copy link
Copy Markdown

Summary

This PR adds metadata RPC support for namespace index registration.

Changes

  • Added RegisterNamespaceIndex to MetadataRpcRequest.

  • Introduced the corresponding wire DTOs:

    • WireNamespaceIndexRegistration
    • WireNamespaceIndexField
    • WireNamespaceIndexRow
  • Added client-side support through MetadataClient::register_namespace_index().

  • Added server-side request handling that converts the wire DTO into NamespaceIndexRegistration and delegates to the existing metadata implementation.

  • Routed requests using RoutingKey::Path(&registration.path).

  • Classified namespace index registration as a metadata write so the existing metadata log publication path is preserved.

  • Preserved the existing validation and transaction semantics implemented in nokv-meta.

Validation

  • cargo check
  • cargo test -p nokv-server

All server tests passed successfully.

Closes #382.

@feichai0017 feichai0017 moved this to In Progress in NoKV Delivery Jul 16, 2026
@SophiaUgo
SophiaUgo force-pushed the feature/network-rpc-register-namespace-index branch from 3bbda16 to fa7bc28 Compare July 16, 2026 08:11
@wchwawa

wchwawa commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

hey @SophiaUgo, thank you very much for your contribution, could you please solve the these CI issues?

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.

[FEATURE] Add metadata RPC support for namespace index registration

3 participants