Summary: | Provide a way of counting the number of outstanding operations in a sync | ||
---|---|---|---|
Product: | Slony-I | Reporter: | Steve Singer <ssinger> |
Component: | core scripts | Assignee: | Slony Bugs List <slony1-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | slony1-bugs |
Priority: | low | ||
Version: | devel | ||
Hardware: | All | ||
OS: | All |
Description
Steve Singer
2010-11-17 05:38:55 UTC
The logic for this is liable to need a stored function (or similar) which duplicates the logic in remote_worker.c which associates XIDs with SYNCs. If we implement this (which could be quite a good idea!), this might provide a way to shift the SYNC contents evaluation out of sync_event() (in src/slon/remote_worker.c) into (a) stored function(s). It's definitely nontrivial, but, if done, would pull a pretty complicated piece out of the C code. |