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 159910 Details for
Bug 209862
commit token data doesn't look correct sometimes when running mp5
[?]
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]
patch to fix the problem.
commit_token_filter_recovery_properly.patch (text/plain), 2.14 KB, created by
Steven Dake
on 2007-07-25 09:59:47 UTC
(
hide
)
Description:
patch to fix the problem.
Filename:
MIME Type:
Creator:
Steven Dake
Created:
2007-07-25 09:59:47 UTC
Size:
2.14 KB
patch
obsolete
>Index: totemsrp.c >=================================================================== >--- totemsrp.c (revision 1405) >+++ totemsrp.c (working copy) >@@ -393,8 +393,6 @@ > > unsigned int my_token_seq; > >- unsigned int my_commit_token_seq; >- > /* > * Timers > */ >@@ -619,8 +617,6 @@ > > instance->my_token_seq = SEQNO_START_TOKEN - 1; > >- instance->my_commit_token_seq = SEQNO_START_TOKEN - 1; >- > instance->memb_state = MEMB_STATE_OPERATIONAL; > > instance->set_aru = -1; >@@ -1646,8 +1642,6 @@ > struct totemsrp_instance *instance, > int gather_from) > { >- instance->my_commit_token_seq = SEQNO_START_TOKEN - 1; >- > memb_set_merge ( > &instance->my_id, 1, > instance->my_proc_list, &instance->my_proc_list_entries); >@@ -1733,8 +1727,6 @@ > > instance->memb_state = MEMB_STATE_COMMIT; > >- instance->my_commit_token_seq = SEQNO_START_TOKEN - 1; >- > /* > * reset all flow control variables since we are starting a new ring > */ >@@ -3961,16 +3953,6 @@ > addr = (struct srp_addr *)memb_commit_token->end_of_commit_token; > memb_list = (struct memb_commit_token_memb_entry *)(addr + memb_commit_token->addr_entries); > >- if (sq_lte_compare (memb_commit_token->token_seq, >- instance->my_commit_token_seq)) { >- /* >- * discard token >- */ >- return (0); >- } >- instance->my_commit_token_seq = memb_commit_token->token_seq; >- >- > #ifdef TEST_DROP_COMMIT_TOKEN_PERCENTAGE > if (random()%100 < TEST_DROP_COMMIT_TOKEN_PERCENTAGE) { > return (0); >@@ -3998,9 +3980,15 @@ > break; > > case MEMB_STATE_COMMIT: >-// if (memcmp (&memb_commit_token->ring_id, &instance->my_ring_id, >-// sizeof (struct memb_ring_id)) == 0) { >- if (memb_commit_token->ring_id.seq == instance->my_ring_id.seq) { >+ /* >+ * If retransmitted commit tokens are sent on this ring >+ * filter them out and only enter recovery once the >+ * commit token has traversed the array. This is >+ * determined by : >+ * memb_commit_token->memb_index == memb_commit_token->addr_entries) { >+ */ >+ if (memb_commit_token->ring_id.seq == instance->my_ring_id.seq && >+ memb_commit_token->memb_index == memb_commit_token->addr_entries) { > memb_state_recovery_enter (instance, memb_commit_token); > } > break;
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 209862
: 159910