hypertrace / hypertrace-service

Multiple hypertrace services combined together to form a single service.
Other
4 stars 15 forks source link

chore: update submodule for projects #123

Closed kotharironak closed 2 years ago

kotharironak commented 2 years ago
kotharironak commented 2 years ago

The e2e test is failing due to a recent change in the document store query interface - https://github.com/hypertrace/document-store/pull/73/

Error log:

_64", version: "Kernel 5.10.25-linuxkit" } }
document-store_1        | 2022-03-17T05:56:09.708+0000 I NETWORK  [conn30] end connection 127.0.0.1:52538 (8 connections now open)
hypertrace_1            | Exception in thread "grpc-default-executor-9" java.lang.NoSuchMethodError: 'java.util.Iterator org.hypertrace.core.documentstore.Collection.search(org.hypertrace.core.documentstore.Query)'
hypertrace_1            |   at org.hypertrace.core.attribute.service.AttributeServiceImpl.findAttributes(AttributeServiceImpl.java:291)
hypertrace_1            |   at org.hypertrace.core.attribute.service.v1.AttributeServiceGrpc$MethodHandlers.invoke(AttributeServiceGrpc.java:627)
hypertrace_1            |   at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182)
hypertrace_1            |   at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
hypertrace_1            |   at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
hypertrace_1            |   at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)
hypertrace_1            |   at io.grpc.Contexts$ContextualizedServerCallListener.onHalfClose(Contexts.java:86)
hypertrace_1            |   at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:340)
hypertrace_1            |   at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:866)
hypertrace_1            |   at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
hypertrace_1            |   at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
hypertrace_1            |   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
hypertrace_1            |   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
hypertrace_1            |   at java.base/java.lang.Thread.run(Unknown Source)
hypertrace_1            | 2022-03-17 05:56:10.490 [grpc-default-executor-0] ERROR o.h.g.s.GatewayServiceImpl - Error while handling spans request: start_time_millis: 1647496560479

Though actual interface change at the document-store level was compatible, however, all the consumers were not upgraded to newer ones. And, as hypertrace-service run all the component in a single JVM, it causes an issue.

Screenshot 2022-03-17 at 11 42 07 AM

So, first, we need to upgrade the document-store version in config-bootstrapper and attribute-service.

kotharironak commented 2 years ago

Upgrade for attribute-service PR - https://github.com/hypertrace/attribute-service/pull/121/

kotharironak commented 2 years ago

Upgrade for config-bootstrapper PR for document-store lib version : https://github.com/hypertrace/config-bootstrapper/pull/72