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());
bufferedStream.mark(Integer.MAX_VALUE);
context.setProperty(REQUEST_PARAMS_JSON, IOUtils.toString(bufferedStream, Charsets.toCharset(CHARSET)));
bufferedStream.reset();
context.setEntityStream(bufferedStream);
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
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