Skip to content

sql: CREATE SCHEMA fails if cluster setting server.eventlog.enabled is set to false #86132

@knz

Description

@knz

Describe the problem

After SET CLUSTER SETTING server.eventlog.enabled = false, CREATE SCHEMA fails desc validation:

demo@127.0.0.1:26257/defaultdb> create schema s;
ERROR: schema "s" (104): expected matching namespace entry, found none

To Reproduce

Change the cluster setting and try CREATE SCHEMA via SQL.

Expected behavior

CREATE SCHEMA works regardless of setting value.

Environment:

master branch

cc @ajwerner for triage

Jira issue: CRDB-18593

Metadata

Metadata

Assignees

Labels

A-schema-changesA-schema-descriptorsRelating to SQL table/db descriptor handling.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.release-blockerIndicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions