Skip to content

Conversation

@jb55
Copy link
Contributor

@jb55 jb55 commented Oct 24, 2025

This is v2 of the metadata table. Before we used flatbuffers, but here we switch to a custom table design with an API.

See docs/metadata.md for the design

@jb55 jb55 force-pushed the metadata branch 4 times, most recently from 901ad7d to a31a3cb Compare October 24, 2025 18:54
@jb55 jb55 requested a review from Copilot October 24, 2025 19:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 5743 to 6179
case NDB_WRITER_NOTE_META:
break;
Copy link

Copilot AI Oct 26, 2025

Choose a reason for hiding this comment

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

The NDB_WRITER_NOTE_META case is empty and does not call any handler function. This means note metadata writes will be silently ignored instead of being processed.

Copilot uses AI. Check for mistakes.
@jb55 jb55 force-pushed the metadata branch 2 times, most recently from 4d5970b to f7bce64 Compare October 26, 2025 17:02
jb55 added 2 commits October 26, 2025 10:03
Signed-off-by: William Casarin <[email protected]>
these had wrong function names in them

Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 marked this pull request as draft October 26, 2025 17:04
@jb55 jb55 changed the title Metadata table v2 data structure Metadata table v2 Oct 26, 2025
@jb55 jb55 force-pushed the metadata branch 6 times, most recently from 09555a6 to b1053b8 Compare October 29, 2025 20:13
jb55 added 5 commits October 29, 2025 16:22
this is needed for the metadata table

Signed-off-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
Signed-off-by: William Casarin <[email protected]>
jb55 added 2 commits October 29, 2025 16:29
Add online counting for:

- quotes
- thread replies
- direct replies
- total reactions

only for kind1 and longform for now

Signed-off-by: William Casarin <[email protected]>
also verify it matches the online counting
Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 force-pushed the metadata branch 2 times, most recently from ca03306 to c1a785d Compare October 30, 2025 23:34
@jb55 jb55 marked this pull request as ready for review October 31, 2025 00:01
@jb55 jb55 merged commit 7bee735 into master Oct 31, 2025
1 check passed
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.

2 participants