Open maryliag opened 2 years ago
@maryliag it looks like it's the logic to hide the Regions/Nodes column when the cluster's only running in one region that's causing this behavior. When I run the following command, I see the column as expected:
./cockroach demo \
--insecure \
--multitenant=false \
--nodes=3 \
--demo-locality=region=us-east1,az=1:region=us-central1,az=2:region=us-west1,az=3
So, this feature appears to be behaving as designed, unless I'm missing something?
on local it was working, but on cloud on our staging cluster it wasn't. Maybe it's related to it being busted, if you can confirm with another cluster on cloud that has multiple regions that this is working, you can go ahead and close this.
I'm looking around for a multi-region dedicated cluster in staging, but I haven't found one yet...
Found one, adwit-wi-aws1, with 3 regions / 3 machines.
The feature seems to be working as intended!
@matthewtodd I see you're pointing to localhost, so maybe the master has the fix for it? If I go on the staging cluster that you pointed out, I don't see the column or the filter option
Oof, thanks for the catch, @maryliag. Must be a difference with master, then? I'll see if there's something we need to backport to 22.1.
Back on this today, and strangely I'm no longer seeing the column on master either. Digging back in now.
Back on this today, and strangely I'm no longer seeing the column on master either. Digging back in now.
the column won't show if you have only one node/region, so make sure you're testing with multiple node/regions
I think I found it, it looks like the page is assuming state.adminUI.nodes
has been populated, but it hasn't. So we just need to dispatch the right action.
The column for Node/Regions are not being displayed on Statement Page. The filter of nodes is being displayed so the value must be correct, but some other check must be wrong, since it's not showing the column itself or on the column selector list.
To be clear, this column should not be displayed on Serverless
Jira issue: CRDB-18136
Epic CRDB-32130