Skip to content

Conversation

@sravotto
Copy link
Collaborator

The allow-unsafe-internals is required in v26 to allow visus to run queries that use crdb_internal or system tables.

@sravotto sravotto marked this pull request as ready for review January 15, 2026 16:08
@sravotto sravotto requested a review from BramGruneir January 15, 2026 16:09
Copy link

@BramGruneir BramGruneir left a comment

Choose a reason for hiding this comment

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

LGTM, but please make the suggested change for readability first.

// It waits until a connection can be established, or that the context has been cancelled.
func New(ctx context.Context, URL string) (*Pool, error) {
return new(ctx, URL, false)
return new(ctx, URL, false, false)

Choose a reason for hiding this comment

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

can you add after the boolean /* what this does */ so one does not need to lookup the signature.

Choose a reason for hiding this comment

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

(for everywhere we you're just passing in a true or false

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

The allow-unsafe-internals is required in v26 to allow visus to run
queries that use crdb_internal or system tables.

Changed mainNode.sql to use [SHOW NODE_ID]
@sravotto
Copy link
Collaborator Author

Thanks for the review.

@sravotto sravotto merged commit fef146e into main Jan 15, 2026
7 checks passed
@sravotto sravotto deleted the sr8_internals branch January 15, 2026 21:26
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