stroom icon indicating copy to clipboard operation
stroom copied to clipboard

No Active volumes found after rename of Default Volume Group

Open stroomdev10 opened this issue 1 year ago • 1 comments

I renamed the Default Volume Group to something more meaningful.

After the change, no streams were being saved.

Log full of

Failed to get lock as no writeable volumes.  This may be because there are no active volumes configured or the active volumes (or the filesystem(s) they sit on) are full


WARN stroom.data.store.impl.fs.FsVolumeService - No ACTIVE volumes found, all vols: 0 non-full vols: 0, non-full ACTIVE vols: 0

stroomdev10 avatar Feb 28 '24 15:02 stroomdev10

  • [x] Add uuid and is_default cols to fs/idx vol grp tables
  • [x] Populate uuid col with uuids
  • [x] Make uuid col not null
  • [ ] (de)ser for fs/idx/pipe vol group
  • [ ] Imp/exp handler for fs/idx/pipe vol grp
  • [x] Change feed setting presenter to use vol group picker
  • [x] Change Index setting presenter to use vol group picker
  • [ ] Change stream appender vol group prop screen (NewPropertyPresenter) to use vol group picker
  • [ ] Migrate pipelines to change vol group name to vol group docref
  • [ ] Migrate feeds to change vol group name to docref
  • [ ] Migrate indexes to change vol group name to docref
  • [x] Change vol group presenter to add default col
  • [x] Add logic to un-set default from other vol groups when setting a vol group to default
  • [x] Add logic to vol group edit presenter to ensure there is always one default vol
  • [ ] Change stroom.data.store.impl.fs.FsVolumeService#create to get the default vol group if getVolumeGroupId is null.
  • [ ] Change VolumeGroupNameProvider to be VolumeGroupProvider returning a DocRef
  • [ ] Change Store iface from vol group name to docref
  • [ ] Change FeedStoreImpl to include vol groups in the deps
  • [ ] Change IndexStoreImpl to include vol groups in the deps
  • [ ] Change PipelineStoreImpl to include vol groups in the deps
  • [ ] Change IndexShardServiceImpl to get vol group doc ref and default to default vol group if null
  • [ ] Add deps check on fs vol grp delete
  • [ ] Add deps check on idx vol grp delete

at055612 avatar Mar 05 '24 13:03 at055612