Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Matthew Booth
On Mon, 13 Aug 2018 at 16:56, Chris Friesen wrote: > > On 08/13/2018 08:26 AM, Jay Pipes wrote: > > On 08/13/2018 10:10 AM, Matthew Booth wrote: > > >> I suspect I've misunderstood, but I was arguing this is an anti-goal. > >> There's no reason to do this if the db is working correctly, and it >

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Jay Pipes
On 08/13/2018 11:56 AM, Chris Friesen wrote: On 08/13/2018 08:26 AM, Jay Pipes wrote: On 08/13/2018 10:10 AM, Matthew Booth wrote: I suspect I've misunderstood, but I was arguing this is an anti-goal. There's no reason to do this if the db is working correctly, and it would violate the

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Chris Friesen
On 08/13/2018 08:26 AM, Jay Pipes wrote: On 08/13/2018 10:10 AM, Matthew Booth wrote: I suspect I've misunderstood, but I was arguing this is an anti-goal. There's no reason to do this if the db is working correctly, and it would violate the principal of least surprise in dbs with legacy

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Matthew Booth
On Mon, 13 Aug 2018 at 15:27, Jay Pipes wrote: > Do you want case-insensitive keys or do you not want case-insensitive keys? > > It seems to me that people complain that MySQL is case-insensitive by > default but actually *like* the concept that a metadata key of "abc" > should be "equal to" a

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Matthew Booth
On Mon, 13 Aug 2018 at 15:27, Jay Pipes wrote: > > On 08/13/2018 10:10 AM, Matthew Booth wrote: > > On Mon, 13 Aug 2018 at 14:05, Jay Pipes wrote: > >> > >> On 08/13/2018 06:06 AM, Matthew Booth wrote: > >>> Thanks mriedem for answering my previous question, and also pointing > >>> out the

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Jay Pipes
On 08/13/2018 10:10 AM, Matthew Booth wrote: On Mon, 13 Aug 2018 at 14:05, Jay Pipes wrote: On 08/13/2018 06:06 AM, Matthew Booth wrote: Thanks mriedem for answering my previous question, and also pointing out the related previous spec around just forcing all metadata to be lowercase:

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Matthew Booth
On Mon, 13 Aug 2018 at 14:05, Jay Pipes wrote: > > On 08/13/2018 06:06 AM, Matthew Booth wrote: > > Thanks mriedem for answering my previous question, and also pointing > > out the related previous spec around just forcing all metadata to be > > lowercase: > > > > (Spec: approved in Newton)

Re: [openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Jay Pipes
On 08/13/2018 06:06 AM, Matthew Booth wrote: Thanks mriedem for answering my previous question, and also pointing out the related previous spec around just forcing all metadata to be lowercase: (Spec: approved in Newton) https://review.openstack.org/#/c/311529/ (Online migration: not merged,

[openstack-dev] [nova] Do we still want to lowercase metadata keys?

2018-08-13 Thread Matthew Booth
Thanks mriedem for answering my previous question, and also pointing out the related previous spec around just forcing all metadata to be lowercase: (Spec: approved in Newton) https://review.openstack.org/#/c/311529/ (Online migration: not merged, abandoned)