Project

General

Profile

Task #2946

Story #2945: Dataone-cn-solr prerm script destroys index data

Prevent index and config loss on dataone-cn-solr upgrade on patch update

Added by Skye Roseboom over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
d1_cn_solr_extensions
Start date:
2012-06-15
Due date:
% Done:

100%

Milestone:
CCI-1.0.1
Product Version:
*
Story Points:
Sprint:

Description

Issue to track this problem and help ensure its handled on upgrade.

Effected directories:
Data:
/var/lib/solr/data/d1-cn-index
/var/lib/solr/data/d1-cn-log

Config:
/usr/share/solr/d1-cn-log/
/usr/share/solr/d1-cn-index/

Offending lines in /var/lib/dpkg/info/dataone-cn-solr.prerm

lines: 10-12

Remove core home dirs

rm -rf /usr/share/solr/d1-cn-index
rm -rf /usr/share/solr/d1-cn-log

lines: 17-19

Remove core data dirs

rm -rf /var/lib/solr/data/d1-cn-index
rm -rf /var/lib/solr/data/d1-cn-log


Related issues

Duplicates Infrastructure - Task #2951: Modify cn-dataone-solr.prerm and solr's web.xml Closed 2012-06-15

History

#1 Updated by Robert Waltz over 12 years ago

  • Status changed from New to In Progress

#2 Updated by Robert Waltz over 12 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)