Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315567 Details for
Bug 460909
Two new nodes with dirty flag don't see each other
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch
cman-firsttrans.patch (text/plain), 1.74 KB, created by
Christine Caulfield
on 2008-09-02 15:37:24 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Christine Caulfield
Created:
2008-09-02 15:37:24 UTC
Size:
1.74 KB
patch
obsolete
>diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c >index 0c1fe99..d85cfb8 100644 >--- a/cman/daemon/ais.c >+++ b/cman/daemon/ais.c >@@ -299,7 +299,8 @@ static void cman_confchg_fn(enum totem_configuration_type configuration_type, > P_AIS("last memb_count = %d, current = %d\n", last_memb_count, member_list_entries); > send_transition_msg(last_memb_count, first_trans); > last_memb_count = member_list_entries; >- first_trans = 0; >+ if (member_list_entries > 1) >+ first_trans = 0; > > cman_send_confchg(member_list, member_list_entries, > saved_left_list, saved_left_list_entries, >diff --git a/cman/daemon/commands.c b/cman/daemon/commands.c >index 1172f5d..4bcc6c9 100644 >--- a/cman/daemon/commands.c >+++ b/cman/daemon/commands.c >@@ -1810,9 +1810,13 @@ static void do_process_transition(int nodeid, char *data) > } > assert(node); > >+ P_MEMB("Got TRANSITION message. msg->flags=%x, node->flags=%x, first_trans=%d\n", >+ msg->flags, node->flags, msg->first_trans); >+ > /* Newer nodes 6.1.0 onwards, set the DIRTY flag if they have state. If the new node has been down > and has state then we mark it disallowed because we cannot merge stateful nodes */ >- if (msg->flags & NODE_FLAGS_DIRTY && (node->flags & NODE_FLAGS_BEENDOWN)) { >+ if ( (msg->flags & NODE_FLAGS_DIRTY && (node->flags & NODE_FLAGS_BEENDOWN)) || >+ (msg->flags & NODE_FLAGS_DIRTY && msg->first_trans && !node->us)) { > /* Don't duplicate messages */ > if (node->state != NODESTATE_AISONLY) { > if (cluster_is_quorate) { >@@ -2058,6 +2062,7 @@ void add_ais_node(int nodeid, uint64_t incarnation, int total_members) > node = us; > P_MEMB("Adding AIS node for 'us'\n"); > } >+ P_MEMB("CC: node %s has state %d\n", node->name, node->state); > > /* This really should exist!! */ > if (!node) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 460909
:
315566
| 315567