Summary: | DROP set in the middle of a subscribe to the same set confuses slon | ||
---|---|---|---|
Product: | Slony-I | Reporter: | Steve Singer <ssinger> |
Component: | slon | Assignee: | Slony Bugs List <slony1-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | slony1-bugs |
Priority: | low | ||
Version: | 2.0 | ||
Hardware: | PC | ||
OS: | Linux |
Description
Steve Singer
2010-06-01 12:01:13 UTC
(In reply to comment #0) Yep, there should be something here to behave less badly. I am worried that marking that we can't just ignore+mark confirmed the subscribe set event on nodes where the set does not exist in sl_set. node 5 would have no way of knowing if their is no row in sl_set because a DROP SET has already been processed or if it is because the CREATE SET has not yet been received by node 5. Both the create set and the drop set will be coming from the origin but the subscribe set could be coming from a receiver. We could try to 'remmeber' the set after a DROP SET for some period of time/messages but what would that period be? An arbitrary value would only delay the issue. You could remember all old sets, We could try to make the subscribe set come from the origin not from the provider. This would mean that it comes from the same place as the create/drop set commands but that will have implications elsewhere. Ideas welcome |