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

ListIterator getting stuck very easily #16

Open
geier1993 opened this issue Mar 13, 2024 · 2 comments
Open

ListIterator getting stuck very easily #16

geier1993 opened this issue Mar 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@geier1993
Copy link

What happened?

I was testing fdb.list interactively and got stuck in a situation when creating multiple iterators.

What are the steps to reproduce the bug?

 l = fdb.list(None, True, True)

 # Do something (or not...)
 i = iter(l)
 elem = next(i)
...

 # Creating a new iterator
 l = fdb.list(None, True, True)  # This will stuck - at least if used on a large fdb

or

for li in fdb.list(None, True, True):
     print(li)

then abort with CTRL+C

and redo the same or similar.

Version

0.0.3

Platform (OS and architecture)

Linux 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 22:15:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Relevant log output

No response

Accompanying data

No response

Organisation

ECMWF

@geier1993 geier1993 added the bug Something isn't working label Mar 13, 2024
@ChrisspyB
Copy link
Member

Philip tells me this was on the databridge i.e. using Remote FDB.
@danovaro This looks similar to the fdb-read hanging that meteoswiss had when the clientside queues filled up.

@danovaro
Copy link
Member

Hi @geier1993 , can you provide more details on the FDB that you are listing? is it local or remote? As @ChrisspyB suggested, it might not be related to pyfdb but to the underlying library. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants