k2v-academy / K2View-Academy

Other
0 stars 0 forks source link

Too-long keyspace name on Debug #985

Closed AFOYQqhZ55j0hwYnWQTrk6rnwfNONSEeP6uheHC closed 8 months ago

AFOYQqhZ55j0hwYnWQTrk6rnwfNONSEeP6uheHC commented 8 months ago

Hi

We are getting errors on deploy to debud due to Keyspace name length:

image

Is there any solution or W/A for this?

i7QC2njzxHCc0LYBqCh0HQf30xF2DYuJjqtFbNe commented 8 months ago

The keyspace is a combination of k2view{LU name}{version}_{project name}

Cassandra limitation for keyspace name is 48 characters.

So you have two options:

  1. Change the LU name or the project name to a shorter length.
  2. Change the system DB to use sqlite or PostgreSQL instead of Cassandra.
AFOYQqhZ55j0hwYnWQTrk6rnwfNONSEeP6uheHC commented 8 months ago

There is a 3rd option - change the username, since it is in the TortoiseGIT configuration :-)

i7QC2njzxHCc0LYBqCh0HQf30xF2DYuJjqtFbNe commented 8 months ago

we concatenate the user name as well only when using terminal windows server.