[fix](fe) Add check editlog size mechanism for backupJob#35653
[fix](fe) Add check editlog size mechanism for backupJob#35653dataroaring merged 1 commit intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
1f95585 to
7a66e22
Compare
|
run buildall |
| } | ||
|
|
||
| @Override | ||
| public boolean exceedMaxJournalSize(short op, Writable writable) throws IOException { |
There was a problem hiding this comment.
Is param op mandatory for this check?
| return ""; | ||
| } | ||
|
|
||
| public boolean exceedMaxJournalSize(BackupJob job) { |
There was a problem hiding this comment.
It seems that we can change it to the following form
| public boolean exceedMaxJournalSize(BackupJob job) { | |
| public boolean exceedMaxJournalSize(Writable w) { |
| return true; | ||
| } | ||
|
|
||
| private boolean exceedMaxJournalSize(short op, Writable writable) throws IOException { |
There was a problem hiding this comment.
This function is redundant if we do not care about op
There was a problem hiding this comment.
This function is redundant if we do not care about
op
opCode is important, we will print opCode
|
please add a regression test in p2. |
TPC-H: Total hot run time: 41182 ms |
TPC-DS: Total hot run time: 168366 ms |
ClickBench: Total hot run time: 30.3 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
1 similar comment
|
run buildall |
TPC-H: Total hot run time: 40871 ms |
TPC-DS: Total hot run time: 170773 ms |
ClickBench: Total hot run time: 30.32 s |
* When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow
|
run buildall |
TPC-H: Total hot run time: 41136 ms |
TPC-DS: Total hot run time: 169986 ms |
ClickBench: Total hot run time: 30.92 s |
* When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow
* When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow
* When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow
…7466) * When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
* When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow
…7628) * When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
… (apache#37628) * When creating a backupJob with huge of tables in a database, it can cause backupJob editlog size over 2GB and bdbje will throw exception because of ByteBuffer overflow ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
Proposed changes
Issue Number: close #xxx