Fix the way of send the rpc requests to OperationEngine service

Bug #1572865 reported by zengchen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karbor
Triaged
Critical
Unassigned

Bug Description

Suppose there are two instances of OperationEngine as A and B on two machines.
For triggers, we hope that A and B have all triggers, so we use cast interface of RPC
to send requests to A and B.
For operations, we hope A and B have different operations. so we use call interface
of RPC to send requests to A or B to create operations; and we hope we can delete
operations completely, we use cast interface of RPC to send requests to A and B.

Yuval Brik (jhamhader)
Changed in smaug:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Saggi Mizrahi (ficoos) wrote :

Every update needs to be done with a call then push information to the DB and then the node that did the operation needs to cast that there was a change. Other nodes need to check the DB for changes periodically. Ownership can be done in the DB. There are currently existing mechanisms for knowing if an instance of a service is up or not. Operation Engine instances need to make sure to take ownership of disowned operation (or a scheduler needs to do this).

Changed in karbor:
importance: Medium → Critical
Saggi Mizrahi (ficoos)
Changed in karbor:
milestone: none → ocata
Revision history for this message
heyiheng (hyh01) wrote :

very good

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.