You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/06/27 08:00:55 UTC

[GitHub] [incubator-doris] caiconghui opened a new issue #3956: uniform solution to check db used data quota when data load job begin a new txn

caiconghui opened a new issue #3956:
URL: https://github.com/apache/incubator-doris/issues/3956


   **Is your feature request related to a problem? Please describe.**
   Now, we only check database used data quota when create or alter table, or in some old type load job, but not for routine load job and stream load job. 
   **Describe the solution you'd like**
   we need a uniform solution to check db used data quota when data load job begin a new txn.
   when no data quota left in db and database used data quota checking on load function is enabled,  we should forbidden all data load job. one of the scenario is like the following:
   seq 1 500000 | awk '{OFS="\t"}{print $1, $1 * 10}' | curl --location-trusted -u root:123456 -T - http://127.0.0.1:8030/api/test/testTbl_/_stream_load
   
   {
       "TxnId": -1,
       "Label": "25960198-8ed9-4d05-88fc-c9a5d24552a5",
       "Status": "Fail",
       "Message": "errCode = 2, detailMessage = Database[default_cluster:test] data size exceeds quota[100.000 KB]",
       "NumberTotalRows": 0,
       "NumberLoadedRows": 0,
       "NumberFilteredRows": 0,
       "NumberUnselectedRows": 0,
       "LoadBytes": 0,
       "LoadTimeMs": 0,
       "BeginTxnTimeMs": 0,
       "StreamLoadPutTimeMs": 0,
       "ReadDataTimeMs": 0,
       "WriteDataTimeMs": 0,
       "CommitAndPublishTimeMs": 0
   }
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] caiconghui closed issue #3956: An uniform solution to check db used data quota when data load job begin a new txn

Posted by GitBox <gi...@apache.org>.
caiconghui closed issue #3956:
URL: https://github.com/apache/incubator-doris/issues/3956


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org