Projects tigase _server server-core Issues #950
DataSource option to ignore schema-version check (#950)
wojciech.kapcia@tigase.net opened 7 years ago

In some cases (like in https://tigase.tech/boards/15/topics/7697-error-of-schema-version-when-i-tend-to-use-external-database?r=7698-re-error-of-schema-version-when-i-tend-to-use-external-database) it could be useful to skip schema version check for particular DataSource

  • Add option to DataSource to skip checking of the version for that particular source
    • show warning during startup (and running upgrade) that checking of the version was disabled for particular DataSource
  • Update documentation
Andrzej Wójcik (Tigase) commented 7 years ago

I've added schema-management option in the data source which when set to false will disable schema management for this data source. When disable it will:

  • print warning during startup of each repository
  • skip schema upgrades for this data source (with info about cause of the skip)
  • skip schema destruction for this data source (with info about cause of the skip)
wojciech.kapcia@tigase.net commented 7 years ago
  	Loading schema: Tigase XMPP Server (Core), version: 8.0.0-SNAPSHOT-b5190/57d7cb43	skipped
  		Message: Automatic schema management is disabled for this data source!
issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
7581
Version
tigase-server-8.0.0
Spent time
17h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#950
Please wait...
Page is in error, reload to recover