We can upload a flamegraph. <@U019A4U757C> is the ...
# troubleshooting
e
We can upload a flamegraph. @Onha Choe is the brave person that is working with the pinot logging controller. Anyone familiar with this that we can work with?
Here is the flamegraph
flamegraph.svg
@Onha Choe has some jstacks and other context as well.
flamegraph2.svg
o
^ Seems like controller is responsible for grabbing segments and compress/upload to object store(GCS) via pinotFS. Not sure if it is necessary for this to be going through the controller, or can this be uploaded directly from servers
e
Looks like there is a call to do this on the server
Also, it seems like LLCSegmentCompletionHandler.segmentCommit() should respond asynchronously so that the threads don't wait on io
@Onha Choe - want to try this?
Copy code
listener.getTransport().setIOStrategy(WorkerThreadIOStrategy.getInstance());
n
@Ting Chen ^^
t
In the deep store by pass (see the cwiki for design), servers can directly upload segments to deepstore.
o
@Ting Chen I’ve looked at the cwiki, though non of the PR were POCs and never got merged? What is the status on it?
t
There is a last PR for integration test and bug fix waiting for approval now : https://github.com/apache/incubator-pinot/pull/5857
n
FYI @Kishore G
@Ting Chen is this part already implemented:
In the deep store by pass (see the cwiki for design), servers can directly upload segments to deepstore.
?
whats the configuration to achieve this (servers uploading to deep store) ?
t
#5314 implements server direct upload to the deep store.
there are two new config to enable that:
1. pinot.server.instance.segment.store.uri for deepstore uri
2. a table config segmentsValidationAndRetentionConfig.setPeerSegmentDownloadScheme()
I will add them to the doc.