-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Exception: Directory for table data already exists. #11432
Copy link
Copy link
Closed
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official release
Description
Version: 20.4.4.18
If table creation failed, second create query may throw exception Directory for table data ... already exists.
Examples:
CREATE TABLE ...
Code: 497. DB::Exception: Received from ... DB::Exception: travel-test: Not enough privileges. ...
CREATE TABLE ...
Received exception from server (version 20.4.4):
Code: 57. DB::Exception: Received from localhost:9000. DB::Exception: Directory for table data ... already exists.
CREATE TABLE ...
Received exception from server (version 20.4.4):
Code: 225. DB::Exception: Received from localhost:9000. DB::Exception: Can't create replicated table without ZooKeeper.
CREATE TABLE ...
Received exception from server (version 20.4.4):
Code: 57. DB::Exception: Received from localhost:9000. DB::Exception: Directory for table data ... already exists.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official release