Skip to content

Conversation

@itaigilo
Copy link
Contributor

Closes #8681.

Recreates #9822 (for technical reasons).

This PR is used for Enterprise.


Change Description

Making production warning for blockstores part of the Blockstore Adapter metadata.

Testing Details

Tested the warning locally (appears for "mem", doesn't for other types).
Also, unit and integration tests in the blockstore area provide a pretty decent coverage.

@itaigilo itaigilo added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached labels Dec 18, 2025
@github-actions github-actions bot added area/testing Improvements or additions to tests area/UI Improvements or additions to UI area/block-adapter area/auth IAM, authorization, authentication, audit, AAA, and integrations with all those and removed minor-change Used for PRs that don't require issue attached labels Dec 18, 2025
@itaigilo itaigilo changed the title Fix/blockstore prod warning 1 Add IsProductionSafe to Blockstore metadata [v2] Dec 18, 2025
Copy link
Contributor

@idanovo idanovo left a comment

Choose a reason for hiding this comment

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

I'm not sure how come the local store is production safe, maybe I'm missing something

func (l *Adapter) BlockstoreMetadata(_ context.Context) (*block.BlockstoreMetadata, error) {
return nil, block.ErrOperationNotSupported
return &block.BlockstoreMetadata{
IsProductionSafe: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

How come the local adapter is production safe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do have a bunch of customers using local adapter in Prod.

Copy link
Contributor

Choose a reason for hiding this comment

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

😱

@itaigilo itaigilo requested a review from idanovo December 18, 2025 15:00
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is about trying to fix OSS integration in Enterprise.
Might be reverted soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also here, fixing Enterprise E2E.

@github-actions github-actions bot removed the area/auth IAM, authorization, authentication, audit, AAA, and integrations with all those label Dec 20, 2025
@itaigilo itaigilo closed this Dec 20, 2025
@itaigilo itaigilo reopened this Dec 20, 2025
@itaigilo itaigilo merged commit 8cf08a2 into master Dec 20, 2025
140 of 143 checks passed
@itaigilo itaigilo deleted the fix/blockstore-prod-warning-1 branch December 20, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/block-adapter area/testing Improvements or additions to tests area/UI Improvements or additions to UI exclude-changelog PR description should not be included in next release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "production use" warning for mem store for non-single StorageID

3 participants