This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

Must restart DM server when a bundle in a plan is changed?Page Title Module

Must restart DM server when a bundle in a plan is changed?

Mar 10th, 2010, 07:44 PM

In the DM server developer guide, it says the deployment steps is copying all bundles into usr directory, and restart dm server, and then put the plan file to pickup directory or deploy the plan file from dm admin web.

Does it mean we have restart dm server once I want upgrade a bundle belonging to the plan? It is too bad.

Comment

What actually happens, then bundle file change detected? Which events are fired or occured? This is not quite clear topic and not covered in documentation too.

The repository index for the bundle is updated to reflect the updated bundle. This is a "passive" operation with no notifications or "external" events. The file system listener events are provided only for the repository to use internally and are not available as external events.

The updated bundle is then available for referencing out of the repository.

If the updated repository is being used as a remote repository, then the change of the secure hash of the bundle will result in a cache miss when the bundle is referenced remotely.

Did you mean "dm Server does not currently support PARTIAL plan refresh"?

Comment

PARs currently support update of individual bundles contained in the PAR, so this level of partial refresh would not be too difficult to add to the plan support. Testing is a little involved as the test needs to handle before after versions and check that the update has happened correctly.

However, since partial refresh of plans would really require exposing in the tooling to be useful, this isn't likely to happen soon. Also we have plenty of more urgent tasks to attend to.

If there's enough demand, then perhaps someone will contribute this to the Virgo project.