-
Notifications
You must be signed in to change notification settings - Fork 76
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
Update column info for show databases to mention where composite databases return null #2212
base: dev
Are you sure you want to change the base?
Conversation
…bases return null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a suggestion. Otherwise, looks good.
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
modules/ROOT/pages/database-administration/standard-databases/listing-databases.adoc
Outdated
Show resolved
Hide resolved
@Hunterness Where is this updated store column (that doesn't say |
@@ -171,6 +181,8 @@ The value is a string formatted as: | |||
---- | |||
A database must be `online` or `deallocating` for this value to be available. | |||
For other database states the value will be `NULL`. | |||
|
|||
The value will be `NULL` for composite databases, as it is not applicable for them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this updated store column (that doesn't say --0.0 in 2025.04)? We need to mark the change with a label that it's available from 2025.04, but I don't see the change.
This is the store column, it's really just a bug fix as --0.0
isn't really a valid/useful storage engine/format. But we're not backporting it to the other calendar releases just the 5.LTS one 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both the store
, currentPrimariesCount
and currentSecondariesCount
columns got updated to return null
for composite (the current_Count ones are also columns that now have this sentence)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add a footnote to explain that this change is applicable to 2025.04 and 5.25.5 and later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.26.5 maybe? but sure could work (but I don't know how to do a footnote)
Co-authored-by: Reneta Popova <[email protected]>
… and 5.26.5 and later
This PR includes documentation updates Updated pages: |
@@ -82,7 +82,7 @@ The default for a standalone database is `neo4j://localhost:7687`. label:default | |||
| role | |||
| The current role of the database (`primary`, `secondary`, `unknown`). label:default-output[] | |||
|
|||
The value for composite databases is `NULL` because it does not apply to them. | |||
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 2025.04 and later and 5.25.5 and later.] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still don't think 5.25 is correct, the 5.LTS is 5.26
and should we mention the 5.X version here anyway or only in the 5.x version of the docs? (and then not mention the 2025.04 in the 5.x docs)
@@ -82,7 +82,7 @@ The default for a standalone database is `neo4j://localhost:7687`. label:default | |||
| role | |||
| The current role of the database (`primary`, `secondary`, `unknown`). label:default-output[] | |||
|
|||
The value for composite databases is `NULL` because it does not apply to them. | |||
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 2025.04 and later and 5.25.5 and later.] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also the role column have been null since before, we only updated 3 of the columns but I added the comments in docs on all the columns where it applied as the old ones didn't have docs comments either.
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 2025.04 and later and 5.25.5 and later.] | |
The value for composite databases is `NULL` because it does not apply to them. |
@@ -133,28 +133,28 @@ Not returned by `SHOW HOME DATABASE` or `SHOW DEFAULT DATABASE`. | |||
| Number of primaries for this database reported as running currently. | |||
It is the same as the number of rows where `role=primary` and `name=this database`. | |||
|
|||
The value for composite databases is `NULL` because it does not apply to them. | |||
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] | |
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 2025.04 and later.] |
or if you want to keep the 5.LTS version info as well
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] | |
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[This change applies to versions 2025.04 and later and 5.26.5 and later.] |
| INTEGER | ||
|
||
| `requestedPrimariesCount` | ||
| The requested number of primaries for this database. | ||
May be lower than current if the DBMS is currently reducing the number of copies of the database, or higher if it is currently increasing the number of copies. | ||
|
||
The value for composite databases is `NULL` because it does not apply to them. | ||
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] | |
The value for composite databases is `NULL` because it does not apply to them. |
| INTEGER | ||
|
||
| `requestedSecondariesCount` | ||
| The requested number of secondaries for this database. | ||
May be lower than current if the DBMS is currently reducing the number of copies of the database, or higher if it is currently increasing the number of copies. | ||
|
||
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] | |
The value for composite databases is `NULL` because it does not apply to them. |
@@ -171,6 +181,8 @@ The value is a string formatted as: | |||
---- | |||
A database must be `online` or `deallocating` for this value to be available. | |||
For other database states the value will be `NULL`. | |||
|
|||
The value for composite databases is `NULL` because it does not apply to them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The value for composite databases is `NULL` because it does not apply to them. | |
The value for composite databases is `NULL` because it does not apply to them.footnote:compositeDb[] |
so you added the footnote to some that wasn't updated and missed one of the ones that were updated
We updated the store column to not say
--0.0
in 2025.04 (and backported to next release of 5.LTS as well), and the currentPrimariesCount/currentSecondariesCount to be null to match what the requested versions already did.Also added the sentence about being null for composite on the columns where that was already the case.