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

Some files are wrongly shown as duplicate if the same file path is open from multiple machines simultaneously #1070

Open
nunorpmestre opened this issue Oct 13, 2022 · 1 comment
Labels

Comments

@nunorpmestre
Copy link

nunorpmestre commented Oct 13, 2022

lnav version
v0.11.1

Describe the bug
Some files are wrongly shown as duplicate (hiding duplicate of) if the same file path is open from multiple machines simultaneously, local and remote.
It happens to me for the file: /var/log/ab-status.log
This is not happening for other files like: /var/log/syslog

To Reproduce
Steps to reproduce the behavior:
Create the file /var/log/ab-status.log on multiple machines.
Open the file from these machines using lnav: lnav /var/log/ab-status.log machine1:/var/log/ab-status.log machine2:/var/log/ab-status.log
At least one file will be shown as duplicate in the Files section (hiding duplicate of) and the contents will not be displayed.

@nunorpmestre nunorpmestre changed the title Some files are wrongly shown as duplicate if the same file is open from multiple machines simultaneously Some files are wrongly shown as duplicate if the same file path is open from multiple machines simultaneously Oct 14, 2022
@tstack
Copy link
Owner

tstack commented Oct 9, 2023

The file is seen as a duplicate if the first log line in the file is the same as in the other file. Is that the case here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants