{ "name": "Nebula write data and rebuild index simultaneously plan", "concurrency": 10, "rolling_table": true, "actions" : [ { "type": "StartAction", "inst_index": 0, "depends": [2, 3, 4] }, { "type": "StartAction", "inst_index": 1, "depends": [] }, { "type": "StartAction", "inst_index": 2, "depends": [1] }, { "type": "StartAction", "inst_index": 3, "depends": [1] }, { "type": "StartAction", "inst_index": 4, "depends": [1] }, { "type": "WaitAction", "wait_time_ms": 3000, "depends": [0] }, { "type": "ClientConnectAction", "depends": [5] }, { "type": "CreateSpaceAction", "space_name": "write_data_and_rebuild_index_simultaneously", "replica": 3, "parts": 100, "depends": [6] }, { "type": "UseSpaceAction", "space_name": "write_data_and_rebuild_index_simultaneously", "depends": [7] }, { "type": "CreateSchemaAction", "name": "circle", "props": [ {"name": "nextId", "type": "string"} ], "edge_or_tag": false, "depends": [8] }, { "type": "WaitAction", "wait_time_ms": 1000, "depends": [9] }, { "type": "WriteCircleAction", "tag": "circle", "col": "nextId", "total_rows": 40000, "row_size": 20, "start_id": 1, "random_value": true, "depends": [10] }, { "type": "CreateIndexAction", "schema_name": "circle", "index_name": "circle_rebuild_index", "field": "nextId", "edge_or_tag": false, "string_field": true, "index_len": 20, "depends": [11] }, { "type": "WaitAction", "wait_time_ms": 10000, "depends": [12] }, { "type": "WriteCircleAction", "tag": "circle", "col": "nextId", "total_rows": 100000, "depends": [13] }, { "type": "WaitAction", "wait_time_ms": 2000, "depends": [13] }, { "type": "RebuildIndexAction", "index_name": "circle_rebuild_index", "edge_or_tag": false, "result_job_id": "rebuildJobId", "depends": [15] }, { "type": "WaitAction", "wait_time_ms": 30000, "depends": [14, 16] }, { "type": "CheckJobStatusAction", "job_id": "rebuildJobId", "depends": [17] }, { "type": "LookUpAction", "tag": "circle", "col": "nextId", "total_rows": 100000, "depends": [18] }, { "type": "DropSpaceAction", "space_name": "write_data_and_rebuild_index_simultaneously", "depends": [19] }, { "type": "EmptyAction", "name": "JoinNode", "depends": [20] }, { "type": "StopAction", "inst_index": 0, "depends": [21] }, { "type": "StopAction", "inst_index": 1, "depends": [21] }, { "type": "StopAction", "inst_index": 2, "depends": [21] }, { "type": "StopAction", "inst_index": 3, "depends": [21] }, { "type": "StopAction", "inst_index": 4, "depends": [21] } ] }