Skip to content

Conversation

oskardudycz
Copy link
Contributor

@oskardudycz oskardudycz commented Apr 28, 2025

We want the indexing functionality isolated in a plugin so it can be easily feature-flagged and potentially licensed.

Added a basic structure for the Second Level Indexing plugin and registered it. For now, it's only enabled by default in the dev mode (it can be enabled for testing by using KurrentDB:SecondLevelIndexing:Enabled). It's to be discussed whether and when it'll be enabled by default, but definitely it won't be enabled by default sooner than when it's ready to be released.

We added a dummy indexing reader to enable testing whether registration and setup work correctly. It will be removed when a real DuckDB one is provided.

The list of virtual stream readers is now populated in the ClusterVNode constructor. However, we need some readers provided by the plugin, so we allowed providing virtual stream readers through ClusterVNode.Create and let the list be combined with default virtual streams (node state and gossip) inside the ClusterVNode constructor.

Copy link
Contributor

github-actions bot commented Apr 28, 2025

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch 2 times, most recently from fc4e437 to 7432e12 Compare April 29, 2025 13:35
@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch 3 times, most recently from ca6793b to 61015a5 Compare April 30, 2025 07:33
@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch from 61015a5 to 9018451 Compare April 30, 2025 07:36
@oskardudycz oskardudycz marked this pull request as ready for review April 30, 2025 07:43
@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch 2 times, most recently from 331b8ec to 086a737 Compare April 30, 2025 08:09
@timothycoleman timothycoleman requested a review from shaan1337 May 2, 2025 12:45
@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch from 086a737 to cf32288 Compare May 7, 2025 06:32
timothycoleman
timothycoleman previously approved these changes May 7, 2025
alexeyzimarev
alexeyzimarev previously approved these changes May 7, 2025
timothycoleman
timothycoleman previously approved these changes May 7, 2025
@oskardudycz oskardudycz dismissed stale reviews from timothycoleman and alexeyzimarev via a0a8aae May 7, 2025 14:24
@oskardudycz oskardudycz force-pushed the indexing/duck_db_plugin branch from 2229f13 to a0a8aae Compare May 7, 2025 14:24
@timothycoleman timothycoleman force-pushed the indexing/duck_db_plugin branch from a0a8aae to 05f23ef Compare May 7, 2025 16:09
@oskardudycz oskardudycz merged commit bfb1869 into master May 8, 2025
12 checks passed
@oskardudycz oskardudycz deleted the indexing/duck_db_plugin branch May 8, 2025 07:01
@oskardudycz oskardudycz changed the title [KDB-788] Add indexing plugin and support virtual readers from plugins [KDB-788] Add secondary indexing plugin and support virtual readers from plugins May 8, 2025
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.

3 participants