Skip to content

Commit a834cfb

Browse files
authored
Uds doc change (#153)
* added known issues * uds doc change
1 parent 44f2afe commit a834cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sharding/provisioning/user-defined-sharding/udsharding_scale_in_delete_an_existing_shard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Use the file: [udsharding_shard_prov_delshard.yaml](./udsharding_shard_prov_dels
2626

2727
1. Move out the chunks from the shard to be deleted to another shard. For example, in the current case, before deleting the `shard4`, if you want to move the chunks from `shard4` to `shard2`, then you can run the below `kubectl` command where `/u01/app/oracle/product/23ai/gsmhome_1` is the GSM HOME:
2828
```sh
29-
kubectl exec -it pod/gsm1-0 -n shns -- /u01/app/oracle/product/23ai/gsmhome_1/bin/gdsctl "move chunk -chunk all -source shard4_shard4pdb -target shard4_shard4pdb"
29+
kubectl exec -it pod/gsm1-0 -n shns -- /u01/app/oracle/product/23ai/gsmhome_1/bin/gdsctl "move chunk -chunk all -source shard4_shard4pdb -target shard2_shard2pdb"
3030
```
3131
2. Confirm the shard to be deleted (`shard4` in this case) is not having any chunk using below command:
3232
```sh
@@ -48,7 +48,7 @@ Use the file: [udsharding_shard_prov_delshard.yaml](./udsharding_shard_prov_dels
4848
- After you apply `udsharding_shard_prov_delshard.yaml`, the change may not be visible immediately and it may take some time for the delete operation to complete.
4949
- If the shard, that you are trying to delete, is still having chunks, then the you will see message like below in the logs of the Oracle Database Operator Pod.
5050
```sh
51-
INFO controllers.database.ShardingDatabase manual intervention required
51+
DEBUG events Shard Deletion failed for [shard4]. Retry shard deletion after manually moving the chunks. Requeuing
5252
```
5353
In this case, you will need to first move out the chunks from the shard to be deleted using Step 2 above and then apply the file in Step 3 to delete that shard.
5454

0 commit comments

Comments
 (0)