Skip to content

Table list query doesn't handle symlinks #2884

@puzpuzpuz

Description

@puzpuzpuz

Describe the bug

No response

To reproduce

  1. Create a table
  2. Stop the database and move table dir to a different location on the same or a separate disk
  3. Create a symlink in root_dir/db/table_name pointing to the new table dir location
  4. Start the database and run tables();

Expected Behavior

The table should be shown in the result set while it's not the case.

Environment

- **QuestDB version**: 6.6.1
- **OS**: Ubuntu 22.04, ext4
- **Browser**:

Additional context

No response

Metadata

Metadata

Assignees

Labels

CoreRelated to storage, data type, etc.New featureFeature requests

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions