Re: [Dspace-tech] replace a bitstream
Sending this question out again. Could someone verify this. On Wed, Feb 19, 2014 at 1:41 PM, Jose Blanco blan...@umich.edu wrote: One of our users has loaded an item with one bitstream. He would like to replace the bitstream to be able to use the same url as the existing bitstream. I see that if I delete the bitstream and add a new one, the sequence_id number is increased and the url changes, so I would like to issue a sql command to change the sequence_id in bitstream table to the old sequence_id so the url stays the same. I have tried this in my development environment, and it worked fine. From looking at the code I don't think this will screw up discovery or lucene indexing ( I don't see sequence_id being used there), so I think it is safe to do this. I just want to make sure before I do this in production. We don't expect this to happen again, and want to accommodate this user. Could someone verify that doing this will not screw something else up. Many thanks! Jose -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] replace a bitstream
But if I do change thee sequence_id it wont affect anything, right? I think that's what you're saying also. but want to confirm. Thank you! Jose On Mon, Feb 24, 2014 at 9:18 AM, helix84 heli...@centrum.sk wrote: Hi Jose, you can use the bitstream URL without the sequence_id (without anything after the question mark) perfectly fine. Don't worry about what the sequence_id is as long as they're in the order you want. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] replace a bitstream
sequence_id doesn't affect anything but ordering of bitstreams in the UIs. Bitstreams are uniquely identifiable without sequence_id. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] replace a bitstream
One of our users has loaded an item with one bitstream. He would like to replace the bitstream to be able to use the same url as the existing bitstream. I see that if I delete the bitstream and add a new one, the sequence_id number is increased and the url changes, so I would like to issue a sql command to change the sequence_id in bitstream table to the old sequence_id so the url stays the same. I have tried this in my development environment, and it worked fine. From looking at the code I don't think this will screw up discovery or lucene indexing ( I don't see sequence_id being used there), so I think it is safe to do this. I just want to make sure before I do this in production. We don't expect this to happen again, and want to accommodate this user. Could someone verify that doing this will not screw something else up. Many thanks! Jose -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette