-
Notifications
You must be signed in to change notification settings - Fork 9
Timeout errors when making lots of calls #42
Comments
Hey there, do you have a minimal way of reproducing this? |
I've been able to replicate it most easily by inserting a lot of records, say 50,000, and then running a query to select them all. Even if you set your timeout to 60_000, the Not sure if this matters or not. Also keep in mind that this isn't something I would typically do, it's actually for a huge, one-time batch operation. |
I see, very interesting! Could you setup a small repo that I can use to reproduce this easily? I understand the process (it looks really straightforward) but I won't have time to look into it until the weekend, and a way to reproduce this right away would definitely be of help :) |
I can't seem to reproduce this consistently. It only seems to happen after I insert a lot of data into Orient. I've tried restarting the app, restarting Orient, etc. I can make queries like normal in the OrientDB interface, but I cannot make them through MarcoPolo, as the I'm trying to migrate data to Orient, and I can't seem to get a reliable result. |
So every time you make 50k |
I've found that it's actually more of a random number of inserts, but basically, yes. I'm looking through the marco polo source and don't really see why it even needs to fetch the schema of the database at all - is there a way I could just disable this temporarily? |
@pdilyard that's how OrientDB works, the binary protocol isn't self-contained and for schemaful records it returns the type of their properties as "type ids" to be looked up in the database schema. 😕 It's not a great design to work with IMO, but it's what we have right now ¯_(ツ)_/¯ |
Hmm. Well this is a huge blocker for me right now, I can't successfully get a migration script to work all the way through without this function timing out. Is there anything at all I can do about it? |
Sorry to hear, but I will not be able to work on this very soon. I may be On Sunday, 14 August 2016, Paul Dilyard notifications@github.com wrote:
Andrea Leopardi |
When many requests are made (in my case, synchronously), I eventually get the following error message:
The text was updated successfully, but these errors were encountered: