Opened 8 years ago

Last modified 8 years ago

#2629 new defect

Removable media with lots of data cannot be unmounted

Reported by: Zack Owned by: tomeu
Priority: high Milestone: Future Release
Component: sugar-datastore Version:
Keywords: Cc: Zack
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

Description (last modified by Zack)

The journal tries to index everything on a removable disk when it is inserted. It also doesn't allow that disk to be removed while this is happening. It's been chugging away on my 1GB stick for a several minutes, and for a large disk this could take ages. When an unmount is requested, indexing should stop.

Change History (6)

comment:1 Changed 8 years ago by Zack

  • Description modified (diff)

Unmount failure feedback filed as #2630.

comment:2 Changed 8 years ago by jg

  • Milestone changed from Untriaged to Trial-3

comment:3 Changed 8 years ago by tomeu

  • Component changed from journal-activity to datastore
  • Owner changed from tomeu to bcsaller

This is really a DS issue.

Ben, I think it passes a long time between a file is going to be processed and the converter notices it cannot be indexed.

I suspect the whole file is being read into memory before the process fails and moves to the next file. Is this correct? Perhaps we could just read the first N bytes if the converter fails and we want to check if it's a text file.

Apart from this, a request to unmount a device that is being imported should stop the import process and unmount it right away.

comment:4 Changed 8 years ago by tomeu

  • Milestone changed from Trial-3 to Untriaged

When a fix for #3058 is in, we won't have this issue in trial3.

comment:5 Changed 8 years ago by kimquirk

  • Milestone changed from Untriaged to First Deployment, V1.0

Moving to FRS to re-evaluate after Trial-3.

comment:6 Changed 8 years ago by marco

  • Milestone changed from First Deployment, V1.0 to V1.1

We won't have content indexing for 1.0, so I guess this won't be an issue.

Note: See TracTickets for help on using tickets.