On 08/26/2011 12:36 AM, Bob Hetzel wrote:
>
> On 8/25/2011 10:12 AM, John Drescher wrote:
>> On Thu, Aug 25, 2011 at 10:04 AM, Bob Hetzel<b...@case.edu>   wrote:
>>> I'm wondering if this minor change could be put into Bacula so that results
>>> are sorted differently when you do a 'list volumes' inside bconsole.
>>>
>>> I believe anybody that uses barcoded tapes would much prefer to see this
>>> list sorted by VolumeName rather than MediaId whenever they need to look at
>>> the list for the purpose of doing media rotation.  I can't think of any
>>> negative consequences (however there may be some that I don't experience).
>>>    Ideally this would be more configurable, so a person could select which
>>> sort order they want I suppose.
>>>
>>> Any thoughts?
>>>
>> To get around this I just use the bconsole query command and add
>> queries to query.sql that sorts my volumes in the ways I want.
>>
>> John
> So is there some reason the default sort order for the 'list volumes' query
> should not be changed as I had suggested?

Hello John,

You seem rather pressed for an answer, so I will try.

These kinds of seemingly small changes sometimes create subtle
bugs.  What is necessary at a minimum to try to avoid them is:

1. Make sure all the regression scripts run correctly with the suggested
change in the code.

2. Examine all the internal code that calls the subroutine you are
suggesting to change including bat to determine if there are any
dependencies on the VolumeId.

Once that is done, I don't see any reason not to make your suggested
change.

Regards,

Kern

>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to