Refactor virtual database total order queue with unique typing
--------------------------------------------------------------

         Key: SEQUOIA-1091
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1091
     Project: Sequoia
        Type: Improvement

  Components: Core  
    Reporter: Emmanuel Cecchet
 Assigned to: Emmanuel Cecchet 
    Priority: Critical
     Fix For: Sequoia 4.0


The DistributedVirtualDatabase total order queue currently just takes objects 
and it is currently stuffed with multiple data types leading to a big mess.
When trying to clean the code with generics I found a number of issues with 
incompatible data types being put in the total order queue.

I came up with the conclusion that the total order queue should contain 
DistributedVirtualDatabaseMessages (DVDM) since it is the incoming queue for 
distributed virtual database messages.
Don't be confused with the other total order queue used in backend task queue 
which contains tasks and represents the total order queue for each backend 
(this one is naturally and properly converted to a list if 
BackendTaskQueueEntries with generics without problems).

The proposed refactoring changes some method signatures in load balancers to 
use DVDMs instead of objects. It also forces a cleaner split between 
RequestManager and DistributedRequestManager.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to