Riley Kuttruff created SDAP-528:
-----------------------------------

             Summary: Verify schema of existing doms Cassandra tables on startup
                 Key: SDAP-528
                 URL: https://issues.apache.org/jira/browse/SDAP-528
             Project: Apache Science Data Analytics Platform
          Issue Type: Improvement
          Components: nexus-analysis
            Reporter: Riley Kuttruff


Recent (-ish) changes to the tables in the doms Cassandra keyspace have caused 
some incompatibilities with older SDAP deployments. These incompatibilities 
only arise when certain queries are run, which results in a crash. We should 
add some checks to the initializer for those tables, 
`analysis.webservice.algorithms.doms.DomsInitializer`, to verify the schema of 
the tables if they exist, `ALTER`-ing if possible, or raising/reporting an 
error / disabling dependent endpoints (perhaps with a function to return an 
error message to the user, rather than a 404)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to