Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[minor] indexer treats fifo file as directory #22

Open
nahoj opened this issue Jul 8, 2023 · 0 comments
Open

[minor] indexer treats fifo file as directory #22

nahoj opened this issue Jul 8, 2023 · 0 comments

Comments

@nahoj
Copy link

nahoj commented Jul 8, 2023

This is an issue that doesn't affect the generated index, that I can see. It just outputs a wrong error log.

This happens with both v2.1.53 and v3.0.2, using node.js v16.20.1.

/mnt/test/loc$ ls -l
total 4,0K
drwxrwxr-x 2 jg jg 4,0K juil.  8 12:22 dir
prw-rw-r-- 1 jg jg    0 juil.  8 12:22 fifo
-rw-rw-r-- 1 jg jg    0 juil.  8 12:03 file
lrwxrwxrwx 1 jg jg    4 juil.  8 12:23 symlink -> file
/mnt/test/loc$ tscmd -m indexer .
Error listing meta directory ./dir/.ts
Error listing meta directory ./fifo/.ts
Error listing meta directory ./dir/.ts
Error listing meta directory ./fifo/.ts
Error listing directory /mnt/test/loc/fifo
Directory index created . containing 4
Saving file: ./.ts/tsi.json
Index persisted for: . to ./.ts/tsi.json
Index generated in folder: .
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

No branches or pull requests

1 participant