Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013789
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Modules] Central Repositoryminorhave not tried2010-06-25 15:542014-04-01 21:46
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbba696b3efb7
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0013789: Allow maintenance for butler server

DescriptionIn order to minimize the downtime for centralrepository/heartbeat server during maintenance periods, the server will be cloned, the maintenance will be done in the clone and finally, the clone will be the new production server.

To prevent loose of data during this process a maintenance mode flag in the instance should be implemented, when this flag is set some operations affecting data will not be allowed.

The following flows are the ones to take into account:

1. Professional subscription activation: It will no be allowed to register new instances during this period.
2. Heartbeat beats: It has been decided not to take into account these beats. This means the server will allow beats during this period of time, and they could be later manually moved to the new database.
3. Module register: It will not be allowed to register new modules during this period of time.
4. Module publication: It will not be allowed to publish new module versions during this period of time.

Flows 1 and 3 are executed from Openbravo ERP UI, a new message will be created for this case. ERP instances prior to the release that includes the new message will not be able to display the error properly.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028781)
hgbot (developer)
2010-06-25 15:58

Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: 26f90b63e05531f5e6fe9f4f2b5c38c2e898b626
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 15:58:12 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^]

fixed issue 13789: Allow maintenance for butler server
  -Infrastructure
  -Flows 3 and 4: Don't allow new module register or publication

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src/org/openbravo/utility/centralrepository/process/PublishModule.java
M src/org/openbravo/utility/centralrepository/process/RegisterModule.java
M src/org/openbravo/utility/centralrepository/ui/pub/ForgeMessage.java
---
(0028782)
hgbot (developer)
2010-06-25 16:01

Repository: erp/pmods/org.openbravo.butler.ops
Changeset: 3b4316cbb7c422184a6187066163c924526cb9cb
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 15:55:51 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^]

fixed issue 13789: Allow maintenance for butler server
  1. Don't allow new professional subscription activations in maintenance mode

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/butler/ops/ActivationKeyGetter.java
---
(0028783)
hgbot (developer)
2010-06-25 16:06

Repository: erp/devel/pi
Changeset: f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 16:05:36 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^]

fixed issue 13789: Allow maintenance for butler server

  Include message in to show when trying to activate a Professional Edition Instance
  or trying to register modules and the server is in maintenance.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0028802)
hgbot (developer)
2010-06-25 16:53

Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: bba696b3efb7559cd5156fadf0703402f4d233df
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 16:52:53 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/bba696b3efb7559cd5156fadf0703402f4d233df [^]

fixed issue 13789: Allow maintenance for butler server
  Added missing table modification

---
A src-db/database/model/modifiedTables/AD_SYSTEM_INFO.xml
---
(0028912)
hudsonbot (developer)
2010-06-30 12:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f3bc40f1b3f6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0065727)
plujan (manager)
2014-04-01 21:46

Closed as marked as Resolved for too long

- Issue History
Date Modified Username Field Change
2010-06-25 15:54 alostale New Issue
2010-06-25 15:54 alostale Assigned To => alostale
2010-06-25 15:54 alostale Summary Allo maintenance for butler server => Allow maintenance for butler server
2010-06-25 15:58 hgbot Checkin
2010-06-25 15:58 hgbot Note Added: 0028781
2010-06-25 15:58 hgbot Status new => resolved
2010-06-25 15:58 hgbot Resolution open => fixed
2010-06-25 15:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^]
2010-06-25 16:01 hgbot Checkin
2010-06-25 16:01 hgbot Note Added: 0028782
2010-06-25 16:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^]
2010-06-25 16:06 hgbot Checkin
2010-06-25 16:06 hgbot Note Added: 0028783
2010-06-25 16:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^] => http://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^]
2010-06-25 16:53 hgbot Checkin
2010-06-25 16:53 hgbot Note Added: 0028802
2010-06-25 16:53 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/bba696b3efb7559cd5156fadf0703402f4d233df [^]
2010-06-30 12:17 hudsonbot Checkin
2010-06-30 12:17 hudsonbot Note Added: 0028912
2014-04-01 21:46 plujan Note Added: 0065727
2014-04-01 21:46 plujan Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker