You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "empiredan (via GitHub)" <gi...@apache.org> on 2023/04/17 13:35:45 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1449: Fail to create a table due to ERR_BUSY_CREATING

empiredan opened a new issue, #1449:
URL: https://github.com/apache/incubator-pegasus/issues/1449

   ## Problem
   
   While creating table by pegasus shell (pegasus version 2.0), `ERR_BUSY_CREATING` happened frequently as below:
   
   ![image](https://user-images.githubusercontent.com/743379/232482325-f4479816-e94a-43eb-a11b-88f1578441af.png)
   
   ## Analysis
   
   Pegasus shell requests for creating table by DDL client as follow:
   
   ![image](https://user-images.githubusercontent.com/743379/232485119-1f4acaae-60d0-4b9f-be1a-f5f1412aef05.png)
   
   It will attempt at most 3 times:
   
   ![image](https://user-images.githubusercontent.com/743379/232485276-53ce55ff-0a16-498f-b956-15a26c0980f0.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232483771-ceb86d40-243b-406a-aa4f-d1e85b80dfdb.png)
   
   Without receiving any response from meta server,  DDL client will wait at most 10 seconds, then it will timeout and fail:
   
   ![image](https://user-images.githubusercontent.com/743379/232484656-60c8c1d6-e9a6-4c3c-9569-639c7da90d53.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232492642-45feaa47-f1e1-43ab-bdf5-91c2a7dc1db9.png)
   
   Based on the above analysis, the process could be described as follows:
   
   1. Pegasus shell launched request for creating a table;
   2. However, after 10 seconds the meta server still did not respond with any message since the table had not been created successfully in meta server;
   3. DDL client chose to attempt 2nd request for creating a table immediately;
   4. Unfortunately, the table had not been created, DDL client received `ERR_BUSY_CREATING` from meta server;
   5. DDL client attempted 3rd request and received `ERR_BUSY_CREATING`;
   6. DDL client had attempted 3 times, thus failed.
   
   This process could be also learned from logs of meta server:
   
   ![image](https://user-images.githubusercontent.com/743379/232498016-2451f7a9-e655-4652-b75e-85c76702187c.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232498179-77831c80-ef6d-41da-8d93-898705ac3faa.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232499319-331d27d1-2b9d-4cfb-b79a-9311c5c97c1b.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232499433-5da8b81c-fc68-4acc-9850-7b8b10d22568.png)
   
   ![image](https://user-images.githubusercontent.com/743379/232499783-da343bad-92f1-42ee-b2ad-80073c097e43.png)
   
   


-- 
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: dev-unsubscribe@pegasus.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] acelyc111 closed issue #1449: Fail to create a table due to ERR_BUSY_CREATING

Posted by "acelyc111 (via GitHub)" <gi...@apache.org>.
acelyc111 closed issue #1449: Fail to create a table due to ERR_BUSY_CREATING
URL: https://github.com/apache/incubator-pegasus/issues/1449


-- 
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: dev-unsubscribe@pegasus.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org