[Freeipa-devel] [PATCH 0488-0489] Perfomance: membership processing related patches

Martin Basti mbasti at redhat.com
Thu Jun 2 11:40:49 UTC 2016



On 02.06.2016 09:41, Martin Basti wrote:
>
>
> On 31.05.2016 14:10, Martin Basti wrote:
>>
>>
>> On 31.05.2016 14:08, Martin Babinsky wrote:
>>> On 05/31/2016 01:57 PM, Martin Basti wrote:
>>>>
>>>>
>>>> On 31.05.2016 12:44, Martin Babinsky wrote:
>>>>> On 05/28/2016 01:17 PM, Martin Basti wrote:
>>>>>> https://fedorahosted.org/freeipa/ticket/4995
>>>>>>
>>>>>> Patches attached
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> PATCH 0488: LGTM
>>>>>
>>>>> PATCH 0489:
>>>>>
>>>>> @@ -996,10 +997,10 @@ def check_deleted_segments(hostname, masters,
>>>>> topo_errors, starting_host):
>>>>>          i = 0
>>>>>          while True:
>>>>>              left = api.Command.topologysegment_find(
>>>>> -                suffix_name, iparepltoposegmentleftnode=hostname,
>>>>> sizelimit=0
>>>>> +                suffix_name, iparepltoposegmentleftnode=hostname,
>>>>> sizelimit=0,
>>>>>              )['result']
>>>>>              right = api.Command.topologysegment_find(
>>>>> -                suffix_name, iparepltoposegmentrightnode=hostname,
>>>>> sizelimit=0
>>>>> +                suffix_name, iparepltoposegmentrightnode=hostname,
>>>>> sizelimit=0,
>>>>>              )['result']
>>>>>
>>>>> it seems that you added 'no_members=True' there and then removed it
>>>>> because reasons. Please revert the this part to the original code so
>>>>> that it does not stick out.
>>>>>
>>>>
>>>> Better (the right one) patches attached.
>>>
>>> ACK
>>>
>> master:
>> * 91572afc60f590f0d81ad18234189a0b48144bf5 Make option --no-members 
>> public in CLI
>> * 5f42b42bd4557a669ab5cfcf1af6596f1a2535f1 Performance: Find 
>> commands: do not process members by default
>>
>
> We found and issue, I used flag 'no_cli' instead of 'no_option'
>
> fixed and pushed under oneliner rule
>
> master:
> * 5c58751d72de27eae2181f2c0e620df03f8dbc82 Fix: replace incorrect 
> no_cli with no_option flag
>
>
>
>
I found another one-liner issue, there was extra no_members=False in 
topologysuffix_find in replication.py, which caused error in 
ipa-replica-manage

Pushed to master: f077fab23fe9dc8a71562d1ba3c0d603d2957d3b

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160602/fd9cfaa5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0495-Fix-topologysuffix_find-doesn-t-have-no_members-opti.patch
Type: text/x-patch
Size: 1101 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160602/fd9cfaa5/attachment.bin>


More information about the Freeipa-devel mailing list