Skip to content

RDoc-4087 Corax: CacheSizeInMb and its behavior on encrypted databases - #2690

Open
Danielle9897 wants to merge 2 commits into
ravendb:mainfrom
Danielle9897:RDoc-4087-corax-CacheSizeInMb
Open

Danielle9897 wants to merge 2 commits into
ravendb:mainfrom
Danielle9897:RDoc-4087-corax-CacheSizeInMb

Conversation

@Danielle9897

Copy link
Copy Markdown
Member

Issue link

https://issues.hibernatingrhinos.com/issue/RDoc-4087/Corax-CacheSizeInMb-and-its-behavior-on-encrypted-databases

Additional description

  • Documented the Corax vector-search cache setting, its behavior on encrypted databases, and recovery from the 7.2.5 regression. * Improved the encryption article and examples.

Type of change

  • Content - docs
  • Content - cloud
  • Content - Quill
  • Content - guides
  • Content - start pages/other
  • New docs feature (consider updating /templates or readme)
  • Bug fix
  • Optimization
  • Other

Changes in docs URLs

  • No changes in docs URLs
  • Articles are restructured, URLs will change, mapping is required (update /scripts/redirects.json file, set Documents Moved PR label)

Changes in UX/UI

  • No changes in UX/UI
  • Changes in UX/UI (include screenshots and description)

@Danielle9897
Danielle9897 force-pushed the RDoc-4087-corax-CacheSizeInMb branch from 8e8b287 to 81d89e9 Compare October 4, 2026 07:35
* The cache is not supported on [encrypted databases](../../server/security/encryption/database-encryption.mdx#vector-search-node-cache).

* This setting is available from RavenDB 7.2.5.
In RavenDB 7.2.6 and later, this setting is ignored on encrypted databases, and vector search reads the HNSW graph from disk.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This setting should indeed being ignore whenever this particular setting is available.


### Recovering vector indexes affected by RavenDB 7.2.5 regression

* A regression in RavenDB 7.2.5 caused Corax vector indexes on encrypted databases to fail during indexing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I may be wrong but this was deployed as a fix not as a feature, so it should be available on the version we discovered it too. cc @arekpalinski for confirmation.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@arekpalinski
Was the fix also released in 7.2.5 ?
For an index in Error state, should users set CacheSizeInMb to 0 or upgrade to 7.2.6+ ?
Is a reset required in both cases ?

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