Tuesday, 2020-04-21

*** factor has joined #openvswitch00:20
zhouhanavishnoi: the reason is the timer impacts leader election timeout. If it is changed dramatically, the current heart-beat can get timed-out while the timer is being propagated to the followers, and unnecessary disturbance in the cluster will be triggered.00:47
avishnoizhouhan: but won’t master commit the change last, before propogating it to the followers?00:51
zhouhanavishnoi: yes, leader always applies the change first. So if you are enlarging the timer very long, follower may still expecting a short timeout, but leader may started waiting for a long time to send next heartbeat00:58
zhouhanIt wouldn't take too many times of change with power of 2 to set it to the desired value, but of course it would be better to have the capability to set it directly at cluster initialization. It is on my list but just not a priority :)01:03
avishnoizhouhan: okay, because leader append the log entry first, it start acting on it.01:04
zhouhanyep01:05
avishnoizhouhan: in case of no client initiated transaction, periodic heart beat is sent before every election-timer ? or periodic heartbeat works on diffrent counter ?01:05
zhouhanevery 1/3 of election timer01:06
zhouhanroughly. There is a random delta added01:07
avishnoizhouhan: i think if heart beat can use different counter, we can update election timer to any value without issue.01:10
avishnoizhouhan: because providing this timer at the time of initialization won’t help if user change the timer dynamically01:10
avishnoizhouhan: user can still hit the same issue.01:10
zhouhanok, but would the x2 limit be a problem still?01:11
avishnoizhouhan: not really, it’s just a minor operational inconvinience, nothing else.01:12
avishnoizhouhan: admin will have to cook-up this logic explictly, rather than simply firing one command.01:13
avishnoizhouhan: But nothing major as such i think.01:13
*** dcbw has quit IRC01:14
zhouhanI think if initial value can be set properly, there shouldn't be any operational problem, right? Unless the initial value is set to an insane value.01:17
zhouhanOur practice now is simply adjust the value to desired right after a new cluster is initialized. This doesn't happen very often in reality.01:18
zhouhanThen during special operations we usually only need to run one command to adjust it to the new desired value.01:19
zhouhanavishnoi: It would be great if there is a way to improve. I am not quite clear about the idea of "different counter". Maybe we can discuss in ML with more details. Patches are welcome as well :)01:21
*** dholler has quit IRC02:33
*** dholler has joined #openvswitch02:45
*** factor has quit IRC02:49
*** acidfu has quit IRC03:14
*** factor has joined #openvswitch03:15
*** zhouhan has quit IRC03:16
*** zhouhan has joined #openvswitch03:17
*** zhouhan_ has joined #openvswitch03:18
*** zhouhan has quit IRC03:21
avishnoizhouhan_: Well setting this election timer depends on the environment (Latency + Disk speed + CPU load on process running raft implementation etc). So you might have to keep tuning in how things are changing in your deployment environment. It can be improved, but as i said, it’s not really critical.03:39
*** psahoo has joined #openvswitch05:03
*** anilvenkata has joined #openvswitch05:17
*** yamamoto has quit IRC06:08
*** mmirecki has joined #openvswitch06:24
*** yamamoto has joined #openvswitch06:36
*** mbarroso has joined #openvswitch07:01
*** eelco has joined #openvswitch07:10
*** slaweq_ has joined #openvswitch07:11
*** yamamoto has quit IRC07:20
*** yamamoto has joined #openvswitch07:25
*** dceara has joined #openvswitch07:27
*** dceara has quit IRC07:33
*** dceara has joined #openvswitch07:44
*** links has joined #openvswitch08:16
*** thaller has joined #openvswitch08:21
*** thaller_ has quit IRC08:23
*** timothy has joined #openvswitch08:29
*** zhouhan_ has quit IRC09:30
*** zhouhan has joined #openvswitch09:30
*** thaller_ has joined #openvswitch09:45
*** thaller has quit IRC09:48
*** lynxis has quit IRC09:59
*** lynxis has joined #openvswitch10:01
*** matteo| is now known as matteo10:03
*** slaweq_ is now known as slaweq10:43
*** links has quit IRC12:17
*** bostondriver has joined #openvswitch12:18
*** links has joined #openvswitch12:18
*** rcernin has quit IRC13:14
*** _lore_ has quit IRC13:17
*** thaller_ has quit IRC13:27
*** thaller has joined #openvswitch13:32
*** _lore_ has joined #openvswitch13:36
*** dholler has quit IRC13:57
*** acidfu has joined #openvswitch14:05
*** dholler has joined #openvswitch14:10
*** yamamoto has quit IRC14:23
*** yamamoto has joined #openvswitch14:41
*** yamamoto has quit IRC14:42
*** yamamoto has joined #openvswitch14:42
*** yamamoto has quit IRC14:42
*** yamamoto has joined #openvswitch14:43
*** yamamoto has quit IRC14:44
*** yamamoto has joined #openvswitch14:44
*** yamamoto has joined #openvswitch14:44
*** acidfu has quit IRC14:47
*** yamamoto has quit IRC14:49
*** kevinbenton has quit IRC15:05
*** kevinbenton has joined #openvswitch15:06
*** atpa8a has quit IRC15:07
*** mmirecki has quit IRC15:18
*** dholler has quit IRC15:36
*** balkamos has quit IRC15:40
*** balkamos has joined #openvswitch15:41
*** atpa8a has joined #openvswitch15:46
*** tbachman has quit IRC15:53
*** yamamoto has joined #openvswitch15:54
*** tbachman has joined #openvswitch15:56
*** ihrachys has joined #openvswitch16:06
*** ihrachys has quit IRC16:09
*** ihrachys has joined #openvswitch16:09
*** eelco has quit IRC16:17
*** dholler has joined #openvswitch16:17
*** acidfu has joined #openvswitch16:23
*** kklimonda has quit IRC16:28
*** kklimonda has joined #openvswitch16:30
*** dholler has quit IRC16:31
*** jraju__ has joined #openvswitch16:32
*** links has quit IRC16:33
*** dcbw has joined #openvswitch16:34
*** d1rewolf has quit IRC16:37
*** edsousa has quit IRC16:38
*** kklimonda has quit IRC16:38
*** d1rewolf has joined #openvswitch16:39
*** edsousa has joined #openvswitch16:39
*** kklimonda has joined #openvswitch16:39
*** fkautz has quit IRC16:40
*** jamespage has quit IRC16:40
*** d1rewolf has quit IRC16:40
*** fkautz has joined #openvswitch16:41
*** jamespage has joined #openvswitch16:42
*** jbenet has quit IRC16:43
*** d1rewolf has joined #openvswitch16:44
*** edsousa has quit IRC16:44
*** jbenet has joined #openvswitch16:45
*** d1rewolf has quit IRC16:46
*** d1rewolf has joined #openvswitch16:47
*** edsousa has joined #openvswitch16:47
*** d1rewolf has quit IRC16:49
*** d1rewolf has joined #openvswitch16:49
*** mmirecki has joined #openvswitch16:52
*** fbl has quit IRC16:57
*** jraju__ has quit IRC16:57
*** aserdean has joined #openvswitch17:01
aserdeanHi all17:01
*** mmirecki has quit IRC17:04
*** inflatador has joined #openvswitch17:12
*** mbarroso has quit IRC17:13
*** mmirecki has joined #openvswitch17:17
*** mmirecki has quit IRC17:30
*** teardown has quit IRC17:33
*** teardown has joined #openvswitch17:33
*** dcbw has quit IRC17:33
*** dcbw has joined #openvswitch17:42
*** donhw_ has joined #openvswitch17:57
*** gmg1 has joined #openvswitch17:59
*** donhw has quit IRC18:00
*** zhouhan_ has joined #openvswitch18:09
*** zhouhan has quit IRC18:13
*** psahoo has quit IRC18:45
*** rebrec79 has quit IRC18:52
*** bern has quit IRC18:56
*** atpa8a has quit IRC19:02
*** slaweq has quit IRC19:14
*** slaweq has joined #openvswitch19:20
*** atpa8a has joined #openvswitch19:20
*** timothy has quit IRC19:25
*** rebrec79 has joined #openvswitch19:33
*** mmirecki has joined #openvswitch20:07
*** troulouliou_div2 has quit IRC20:10
*** mmirecki has quit IRC21:05
*** mmirecki has joined #openvswitch21:30
*** slaweq has quit IRC21:42
*** mmirecki has quit IRC21:45
*** inflatador_ has joined #openvswitch22:02
*** inflatador has quit IRC22:04
*** inflatador_ is now known as inflatador22:04
*** dceara has quit IRC22:13
*** rcernin has joined #openvswitch22:17
acidfuheya folks22:19
acidfuhow can I clear this field22:19
acidfusudo ovs-vsctl clear Open_vSwitch . other_config:n-handler-threads22:19
acidfuovs-vsctl: Open_vSwitch does not contain a column whose name matches "other_config:n-handler-threads"22:19
acidfuI mean I can do: ovs-vsctl --no-wait set Open_vSwitch . other_config:n-revalidator-threads=2522:20
acidfuset works, but not clear ? :/22:20
acidfuhow to I clear it back to empty ?22:20
acidfuthanks !22:20
acidfuI want to get back to this:22:27
acidfu# ovs-vsctl get Open_vSwitch . other-config22:27
acidfu{}22:27
*** rebrec79 has quit IRC22:32
*** rebrec79 has joined #openvswitch22:33
*** inflatador has quit IRC23:49
*** inflatador has joined #openvswitch23:56

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!