Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-06-07 Thread Ilya Maximets
On 6/6/24 20:55, Terry Wilson wrote: > On Thu, Jun 6, 2024 at 10:41 AM Dumitru Ceara wrote: >> >> On 5/27/24 23:39, Ilya Maximets wrote: >>> When a row is modified, python IDL doesn't perform any operations on >>> existing client-side indexes. This means that if the column on which >>> index is c

Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-06-06 Thread Terry Wilson
On Thu, Jun 6, 2024 at 10:41 AM Dumitru Ceara wrote: > > On 5/27/24 23:39, Ilya Maximets wrote: > > When a row is modified, python IDL doesn't perform any operations on > > existing client-side indexes. This means that if the column on which > > index is created changes, the old value will remain

Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-06-06 Thread Dumitru Ceara
On 5/27/24 23:39, Ilya Maximets wrote: > When a row is modified, python IDL doesn't perform any operations on > existing client-side indexes. This means that if the column on which > index is created changes, the old value will remain in the index and > the new one will not be added to the index.

Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-06-05 Thread Mike Pattrick
On Mon, May 27, 2024 at 5:39 PM Ilya Maximets wrote: > > When a row is modified, python IDL doesn't perform any operations on > existing client-side indexes. This means that if the column on which > index is created changes, the old value will remain in the index and > the new one will not be add

Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-05-29 Thread Roberto Bartzen Acosta
;NoneType' object has no attribute 'name' > >>> sw = api_idl.ls_get("test2").execute().name > >>> 'test2' > > I just wanted to share our experience with this problem and patch. > You can add this to OVS python tests, if you consider

Re: [ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-05-28 Thread Vladislav Odintsov
ibute 'name' >>> sw = api_idl.ls_get("test2").execute().name >>> 'test2' I just wanted to share our experience with this problem and patch. You can add this to OVS python tests, if you consider it's worth it. Thanks again :) regards,

[ovs-dev] [PATCH] python: idl: Fix index not being updated on row modification.

2024-05-27 Thread Ilya Maximets
When a row is modified, python IDL doesn't perform any operations on existing client-side indexes. This means that if the column on which index is created changes, the old value will remain in the index and the new one will not be added to the index. Beside lookup failures this is also causing in