Uh oh!
There was an error while loading. Please reload this page.
[fix](audit) fix audit loader thread hang and label already exists issue - #54031
Merged
Conversation
Thearas
commented
Jul 29, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
cambyzju
commented
Jul 29, 2025
ContributorAuthor
run buildall |
cambyzju
commented
Jul 30, 2025
ContributorAuthor
run performance |
doris-robot
commented
Jul 30, 2025
TPC-H: Total hot run time: 34090 ms |
doris-robot
commented
Jul 30, 2025
TPC-DS: Total hot run time: 174200 ms |
doris-robot
commented
Jul 30, 2025
ClickBench: Total hot run time: 32.84 s |
morningman
previously approved these changes
Jul 30, 2025
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
morningmanforce-pushed
the
fix-master-250729
branch
from
July 30, 2025 20:43
320b23f to
d1a58c4Comparemorningman
commented
Jul 30, 2025
Contributor
run buildall |
doris-robot
commented
Jul 30, 2025
TPC-H: Total hot run time: 33643 ms |
doris-robot
commented
Jul 30, 2025
TPC-DS: Total hot run time: 163041 ms |
doris-robot
commented
Jul 30, 2025
ClickBench: Total hot run time: 33.48 s |
cambyzju
commented
Jul 31, 2025
ContributorAuthor
run fe_ut |
cambyzju
commented
Jul 31, 2025
ContributorAuthor
run fe ut |
cambyzju
commented
Jul 31, 2025
ContributorAuthor
run buildall |
doris-robot
commented
Jul 31, 2025
TPC-H: Total hot run time: 34115 ms |
doris-robot
commented
Jul 31, 2025
TPC-DS: Total hot run time: 172496 ms |
doris-robot
commented
Jul 31, 2025
ClickBench: Total hot run time: 33.67 s |
hello-stephen
commented
Jul 31, 2025
Contributor
FE UT Coverage ReportIncrement line coverage |
CalvinKirs
approved these changes
Jul 31, 2025
Contributor
PR approved by at least one committer and no changes requested. |
cambyzju
commented
Jul 31, 2025
ContributorAuthor
run cloud_p0 |
morningman
approved these changes
Jul 31, 2025
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
pushed a commit
that referenced
this pull request
Jul 31, 2025
…sue (#54031) ### What problem does this PR solve? audit loader thread hang, and there are no new audit log in table __internal_schema.audit_log ``` "audit loader thread" #59 prio=5 os_prio=0 cpu=19288.63ms elapsed=714273.53s tid=0x00007f7edaf559d0 nid=0x302e1e runnable [0x00007f7e9c3fe000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.SocketDispatcher.read0(java.base@17.0.13/Native Method) at sun.nio.ch.SocketDispatcher.read(java.base@17.0.13/SocketDispatcher.java:47) at sun.nio.ch.NioSocketImpl.tryRead(java.base@17.0.13/NioSocketImpl.java:266) at sun.nio.ch.NioSocketImpl.implRead(java.base@17.0.13/NioSocketImpl.java:317) at sun.nio.ch.NioSocketImpl.read(java.base@17.0.13/NioSocketImpl.java:355) at sun.nio.ch.NioSocketImpl$1.read(java.base@17.0.13/NioSocketImpl.java:808) at java.net.Socket$SocketInputStream.read(java.base@17.0.13/Socket.java:985) at java.io.BufferedInputStream.fill(java.base@17.0.13/BufferedInputStream.java:244) at java.io.BufferedInputStream.read1(java.base@17.0.13/BufferedInputStream.java:284) at java.io.BufferedInputStream.read(java.base@17.0.13/BufferedInputStream.java:343) - locked <0x00000005dbc6ecf8> (a java.io.BufferedInputStream) at sun.net.www.http.HttpClient.parseHTTPHeader(java.base@17.0.13/HttpClient.java:826) at sun.net.www.http.HttpClient.parseHTTP(java.base@17.0.13/HttpClient.java:761) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@17.0.13/HttpURLConnection.java:1724) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@17.0.13/HttpURLConnection.java:1625) at java.net.HttpURLConnection.getResponseCode(java.base@17.0.13/HttpURLConnection.java:529) at org.apache.doris.plugin.audit.AuditStreamLoader.loadBatch(AuditStreamLoader.java:138) at org.apache.doris.plugin.audit.AuditLoader.loadIfNecessary(AuditLoader.java:196) - locked <0x00000005c6182238> (a org.apache.doris.plugin.audit.AuditLoader) at org.apache.doris.plugin.audit.AuditLoader$LoadWorker.run(AuditLoader.java:234) at java.lang.Thread.run(java.base@17.0.13/Thread.java:840) ``` Also modify the label of audit log load, use true FE ip to avoid conflict between FEs
github-actionsBot
pushed a commit
that referenced
this pull request
Jul 31, 2025
…sue (#54031) ### What problem does this PR solve? audit loader thread hang, and there are no new audit log in table __internal_schema.audit_log ``` "audit loader thread" #59 prio=5 os_prio=0 cpu=19288.63ms elapsed=714273.53s tid=0x00007f7edaf559d0 nid=0x302e1e runnable [0x00007f7e9c3fe000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.SocketDispatcher.read0(java.base@17.0.13/Native Method) at sun.nio.ch.SocketDispatcher.read(java.base@17.0.13/SocketDispatcher.java:47) at sun.nio.ch.NioSocketImpl.tryRead(java.base@17.0.13/NioSocketImpl.java:266) at sun.nio.ch.NioSocketImpl.implRead(java.base@17.0.13/NioSocketImpl.java:317) at sun.nio.ch.NioSocketImpl.read(java.base@17.0.13/NioSocketImpl.java:355) at sun.nio.ch.NioSocketImpl$1.read(java.base@17.0.13/NioSocketImpl.java:808) at java.net.Socket$SocketInputStream.read(java.base@17.0.13/Socket.java:985) at java.io.BufferedInputStream.fill(java.base@17.0.13/BufferedInputStream.java:244) at java.io.BufferedInputStream.read1(java.base@17.0.13/BufferedInputStream.java:284) at java.io.BufferedInputStream.read(java.base@17.0.13/BufferedInputStream.java:343) - locked <0x00000005dbc6ecf8> (a java.io.BufferedInputStream) at sun.net.www.http.HttpClient.parseHTTPHeader(java.base@17.0.13/HttpClient.java:826) at sun.net.www.http.HttpClient.parseHTTP(java.base@17.0.13/HttpClient.java:761) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@17.0.13/HttpURLConnection.java:1724) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@17.0.13/HttpURLConnection.java:1625) at java.net.HttpURLConnection.getResponseCode(java.base@17.0.13/HttpURLConnection.java:529) at org.apache.doris.plugin.audit.AuditStreamLoader.loadBatch(AuditStreamLoader.java:138) at org.apache.doris.plugin.audit.AuditLoader.loadIfNecessary(AuditLoader.java:196) - locked <0x00000005c6182238> (a org.apache.doris.plugin.audit.AuditLoader) at org.apache.doris.plugin.audit.AuditLoader$LoadWorker.run(AuditLoader.java:234) at java.lang.Thread.run(java.base@17.0.13/Thread.java:840) ``` Also modify the label of audit log load, use true FE ip to avoid conflict between FEs
github-actionsBot
pushed a commit
that referenced
this pull request
Jul 31, 2025
…sue (#54031) ### What problem does this PR solve? audit loader thread hang, and there are no new audit log in table __internal_schema.audit_log ``` "audit loader thread" #59 prio=5 os_prio=0 cpu=19288.63ms elapsed=714273.53s tid=0x00007f7edaf559d0 nid=0x302e1e runnable [0x00007f7e9c3fe000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.SocketDispatcher.read0(java.base@17.0.13/Native Method) at sun.nio.ch.SocketDispatcher.read(java.base@17.0.13/SocketDispatcher.java:47) at sun.nio.ch.NioSocketImpl.tryRead(java.base@17.0.13/NioSocketImpl.java:266) at sun.nio.ch.NioSocketImpl.implRead(java.base@17.0.13/NioSocketImpl.java:317) at sun.nio.ch.NioSocketImpl.read(java.base@17.0.13/NioSocketImpl.java:355) at sun.nio.ch.NioSocketImpl$1.read(java.base@17.0.13/NioSocketImpl.java:808) at java.net.Socket$SocketInputStream.read(java.base@17.0.13/Socket.java:985) at java.io.BufferedInputStream.fill(java.base@17.0.13/BufferedInputStream.java:244) at java.io.BufferedInputStream.read1(java.base@17.0.13/BufferedInputStream.java:284) at java.io.BufferedInputStream.read(java.base@17.0.13/BufferedInputStream.java:343) - locked <0x00000005dbc6ecf8> (a java.io.BufferedInputStream) at sun.net.www.http.HttpClient.parseHTTPHeader(java.base@17.0.13/HttpClient.java:826) at sun.net.www.http.HttpClient.parseHTTP(java.base@17.0.13/HttpClient.java:761) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@17.0.13/HttpURLConnection.java:1724) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@17.0.13/HttpURLConnection.java:1625) at java.net.HttpURLConnection.getResponseCode(java.base@17.0.13/HttpURLConnection.java:529) at org.apache.doris.plugin.audit.AuditStreamLoader.loadBatch(AuditStreamLoader.java:138) at org.apache.doris.plugin.audit.AuditLoader.loadIfNecessary(AuditLoader.java:196) - locked <0x00000005c6182238> (a org.apache.doris.plugin.audit.AuditLoader) at org.apache.doris.plugin.audit.AuditLoader$LoadWorker.run(AuditLoader.java:234) at java.lang.Thread.run(java.base@17.0.13/Thread.java:840) ``` Also modify the label of audit log load, use true FE ip to avoid conflict between FEs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
audit loader thread hang, and there are no new audit log in table __internal_schema.audit_log
Also modify the label of audit log load, use true FE ip to avoid conflict between FEs
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)