-
Notifications
You must be signed in to change notification settings - Fork 531
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
[Bug] server slow log, support loader import & client IP #2468
Comments
Based on the information you've provided, it seems like the issue is related to handling GZIP compressed requests. Here are some potential solutions and insights:
Without specific details on how the server handles incoming requests and integrates with For more details, you can refer to the source code of the I hope this helps! If you have any further questions or need more clarification, feel free to ask. Sources
|
Bug Type (问题类型)
others (please edit later)
Before submit
Environment (环境信息)
latest branch
Expected & Actual behavior (期望与实际表现)
we support slow log before ,but it cause bug when loader batch import data, the feat PR see #2327
and later we downgrade it ,see pr : #2347
the bug due to:
we need get post body from req, and we need set it back to request, so it changed.
the loader request use the "GZIP" header, after get post body, server cant read it
so we ready to resolve it , use BufferedInputStream to cache the stream:
` BufferedInputStream bufferedStream = new BufferedInputStream(context.getEntityStream());
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: