[acassen/keepalived] 3563cf: fix indentation

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <54d4b35d40adb_4bdd3fca7159d2bc759e6@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 3563cf87bea58d3be60a9193bb66a2f44ff27625
      https://github.com/acassen/keepalived/commit/3563cf87bea58d3be60a9193bb66a2f44ff27625
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/ipwrapper.c
    M keepalived/include/check_data.h

  Log Message:
  -----------
  fix indentation


  Commit: 2b18e95701ab9210f97cb6780fd9ced8f5554269
      https://github.com/acassen/keepalived/commit/2b18e95701ab9210f97cb6780fd9ced8f5554269
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/check_http.c

  Log Message:
  -----------
  ipvs: log http timeout only when server goes down

  All other calls to log_message() when a check fails are performed
  when a server changes its state.
  The http timeout log message is the only exception.


  Commit: 9d99a713a4940724df58379305632104816737c0
      https://github.com/acassen/keepalived/commit/9d99a713a4940724df58379305632104816737c0
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/ipwrapper.c

  Log Message:
  -----------
  ipvs: properly fix bug when Q < H

The commit a77c2c7 has not fixed the issue.
Log messages became accurate, but unsigned comparison was still in use.


  Commit: 853cb977c066d0c7dfbf1cdea633193494f1b2f9
      https://github.com/acassen/keepalived/commit/853cb977c066d0c7dfbf1cdea633193494f1b2f9
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/check_daemon.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/ipwrapper.h

  Log Message:
  -----------
  ipvs: HUP processing refactored

copy_srv_states is removed: we can copy states with existing clear_diff_*
functions, as long as clear_diff_services is called before the init_services.

vs_exist, rs_exist: remove side-effects from these functions.
Now they do only search and return pointers.

get_rs_list removed: the new rs list is now passed to clear_diff_rs

init_service_vs: quorum_state assignment is not needed here. It is already assigned either by vs constructor, or by alpha handler, or by clear_diff_services.


  Commit: 09de4419699d456aa0396b010eeeffcaaf6dd2d8
      https://github.com/acassen/keepalived/commit/09de4419699d456aa0396b010eeeffcaaf6dd2d8
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/check_daemon.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/check_data.h
    M keepalived/include/ipwrapper.h

  Log Message:
  -----------
  ipvs, refactoring: link vsg structure to vs

this adds a pointer to virtual_server_group_t into
the virtual_server_t structure and fills these pointers
after config load.

This change will allow to access vsg items of a vs easily,
without iterating and name compare.


  Commit: 55030085602b01a218a180db55a6e85b0f3a6536
      https://github.com/acassen/keepalived/commit/55030085602b01a218a180db55a6e85b0f3a6536
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/ipvswrapper.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/ipvswrapper.h

  Log Message:
  -----------
  ipvs, refactoring: use links to vs->vsg links

ipvs_cmd: removed vs_group list parameter. Link to vsg is obtained via vs->vsg.

These functions are also modified in the same way:
ipvs_group_cmd, clear_service_rs, clear_service_vs, clear_diff_rs.

clear_diff_vsg: new_vs is passed as a param, vsg pointers are retrieved w/o iterating


  Commit: 97eb4eaf077a475625c517adcde74e4596305365
      https://github.com/acassen/keepalived/commit/97eb4eaf077a475625c517adcde74e4596305365
  Author: Alexey Andriyanov <[email protected]>
  Date:   2015-02-05 (Thu, 05 Feb 2015)

  Changed paths:
    M keepalived/check/ipvswrapper.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/check_data.h
    M keepalived/include/ipvswrapper.h

  Log Message:
  -----------
  ipvs: fix problems with config reload

The commit 7bf6fc contained a bad trying to fix the issue
when an alive RS does not appear in a new VSG entry on reload.
It has not fixed the original issue and added a new one:
vs_groups lose quorum on config reload.

This commit fixes the issue properly, and also the case when
RS in VSG is in inhibit mode.

The reloaded flag is added to the virtual_server_group_entry_t.

ipvs_group_sync_entry: add alive destinations to the newly created vsge.
It is aware of inhibit-on-failure destinations.
sync_service_vsg: calls the former for each created vsg entry
vsge_exist: changed just as other *_exist routines.


  Commit: ef4e577e1c169185144aaaa53388a3fb0fb3c80f
      https://github.com/acassen/keepalived/commit/ef4e577e1c169185144aaaa53388a3fb0fb3c80f
  Author: Alexandre Cassen <[email protected]>
  Date:   2015-02-06 (Fri, 06 Feb 2015)

  Changed paths:
    M keepalived/check/check_daemon.c
    M keepalived/check/check_http.c
    M keepalived/check/ipvswrapper.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/check_data.h
    M keepalived/include/ipvswrapper.h
    M keepalived/include/ipwrapper.h

  Log Message:
  -----------
  Merge pull request #129 from andriyanov/to_acassen

A bunch of fixes to the ipvs part


Compare: https://github.com/acassen/keepalived/compare/03e35eae7f31...ef4e577e1c16

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.