EBISPOT / goci-rest

Apache License 2.0
4 stars 1 forks source link

Rest API Database Lock #50

Open sprintell opened 8 months ago

sprintell commented 8 months ago

Reviewing the strategy to overcome Database Lock issue in the Rest API

sprintell commented 1 month ago
sprintell commented 1 month ago

We had a meeting with Mark Head concerning theis problem. The root of this problem is that whenever SPOTPRO database refresh is executed in Delphix for any of the other Oracle database environments including the SPOTPUB Database (SPOTDV1, SPOTDV2, SPOTDV3, SPOTTST, SPOTPUB, SPOTPUBFALL, SPOTCTV, SPOTPREL), the SPOTPRO "gwas user" password overwrites the password of the given database.

The agreed solution is to create other "non gwas" users and password for each Oracle database in SPOTPRO. if this "non gwas" user is used to connect from the application to the Oracle Database, the password will still be working after SPOTPRO refresh, because this new users and passwords will be thesame after DB Refresh. With this, the lock will not occur again.

Ticket INC0060321 is used to work on this fix.

sprintell commented 4 weeks ago

Mark is now on holiday, when this was tested on the last data release, the changes Mark Head made did not work.

Waiting for Mark to fix the changes he made ...

sprintell commented 1 day ago

Mark has recreated all the users in upper case in SPOTPRO, sorry my mistake on creating them lower case. Passwords remain the same