cosven commented on code in PR #53943:
URL: https://github.com/apache/doris/pull/53943#discussion_r2246910318


##########
fe/fe-core/src/main/java/org/apache/doris/persist/EditLog.java:
##########
@@ -230,6 +230,10 @@ private void flushEditLog() {
                 }
             }
 
+            if (DebugPointUtil.isEnable("EditLog.flushEditLog.exception")) {
+                // For debug purpose, throw an exception to test the edit log 
flush
+                throw new RuntimeException("EditLog.flushEditLog.exception");
+            }

Review Comment:
   这个注入加在一个会报错的地方(比如 210 行,或者 221 行附近)会不会更真实一点?
   (看起来 210 行的 journal.write 有一定几率报错)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to