-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC-4592: Astra CLI version 0.6 #18
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Build successful! ✅ |
Issue 1You are correct. The comment was misleading. It makes sense when you read a db but not when you create one. Let us say you have 2 db with same names
This command will failed
This command will success
Issue 2
try {
// here some code
} catch(Exception e) {
throw new InvalidDatabaseStateException(databaseName, DatabaseStatusType.ACTIVE,
dbDao.getDatabase(databaseName).getStatus());
} |
@clun regarding Issue 1, here's the behavior I observed (sorry I didn't include this info previously). Create first DB named
Create second DB named
^ The CLI doesn't let me create a second DB named With the
^ The |
Build successful! ✅ |
Astra CLI |
Build successful! ✅ |
Jira: DOC-4592
Draft previews:
Notes to reviewers
@clun I marked the following issues with
TODO
:Issue 1
I commented out the following statement in db create options because it did not align with the behavior I observed:
Issue 2
I couldn't get the following command to work in Manage multi-region databases, and therefore couldn't provide a Result:
I kept getting the following error:
[ERROR] UNAVAILABLE: Database 'my_serverless_db' has been found but operation cannot be processed due to invalid state (ACTIVE) expected (ACTIVE)
Issue 3
I couldn't get the following command to work in Change Data Capture (CDC), and therefore couldn't provide a Result:
I kept getting the following error:
[ERROR] INVALID_ARGUMENT: Error Code=422(422) Invalid information provided to create DB: 422 Unprocessable Entity: databaseId, keyspace, tableName, and orgId are mandatory fields
Issue 4
I couldn't get the following command to work in Change Data Capture (CDC), and therefore couldn't provide a Result:
I kept getting the following error:
[ERROR] INVALID_ARGUMENT: Error Code=422(422) Invalid information provided to create DB: 422 Unprocessable Entity: databaseId, keyspace, tableName, and orgId are mandatory fields
Issue 5
I couldn't get the following command to work in End-to-end example, and therefore couldn't provide a Result:
I kept getting the following error:
[ERROR] INVALID_ARGUMENT: Error Code=422(422) Invalid information provided to create DB: 422 Unprocessable Entity: databaseId, keyspace, tableName, and orgId are mandatory fields
Issue 6
I couldn't get the following command to work in streaming pulsar-shell options, and therefore couldn't provide a Result:
astra streaming pulsar-shell TENANT_NAME -e "admin namespaces list TENANT_NAME"
I kept getting a long Java-related error.
Issue 7
In streaming pulsar-shell options, we should provide an actual
sample.txt
file for the user and corresponding Result for the following command:Issue 8
I couldn't get the following command to work in Pulsar-shell example, and therefore couldn't provide a Result:
I kept getting a long Java-related error.
Also, because I couldn't get this command to work, I couldn't test the other commands and simply had to copy over the Results from Awesome Astra.
Issue 9
I couldn't get the following command to work in Get a list of tokens, and therefore couldn't provide a Result:
I kept getting the following error:
[ERROR] NOT_FOUND: Role 'ad905142-21a6-4ea8-839c-183d2d52ea9c' has not been found.
Issue 10
I couldn't get auto-completion to work. We need to provide full instructions for making this work on Linux and macOS.