Age | Commit message (Collapse) | Author |
|
Truncate events can be ignored on per handler basis.
|
|
|
|
|
|
|
|
|
|
its name
This will be allowed no more: --handler="hname(arg1=123, …)"
It was a weak point through which Londiste setup could be broken.
|
|
|
|
|
|
|
|
Deprecated Londiste command line parameter --copy-condition.
Londiste handler part.py must be used instead as it leaves
configuration in maintainable state.
Fixed Londiste compare and repair for one to many and
many to one repliaction use cases. Now filtering
condition is applied on both ends and datasets compared
should be the same.
Cleaned up database splitting howto.
|
|
Add docstrings to part, londiste, qtable, qsplitter, vtable handlers.
|
|
- Move EncodingValidator from dispatch.py to handler.py
- Use it in TableHandler (londiste default)
- Thus it is inherited by 'part' handler too
|
|
As it's not known whether the module is actually needed,
its not good to crash here.
Better would be to import the module only when actually needed,
but lets use this quick fix as temporary solution.
|
|
as we already do it for value, we can aswell do it for key.
|
|
- add .dest_table field to londiste.table_info
- use it for mapping merged tables on leaf
- make handlers use it for sql generaion
- fkey-related functions keep using real table name
|
|
|
|
handler can specify whether is actually operates on table
|
|
where appropriate
* added argument 'encoding' to dispatcher handler
* tests for invalid utf8 sequences
* support for renamed table copy in dispatcher handler
|
|
|
|
Original idea was to let admins cascade different handlers,
but that seems too complicated. Instead let programmer
use subclassing to create handlers with required functionality.
|
|
|
|
|
|
1. Make handler modules known for Londiste:
[londiste3]
handler_modules = londiste.bublin, some_other.module
Modules are imported and classes found in __londiste_handlers__
module variable are registered.
2. Generic table setup:
londiste3 cf.ini add-table foo --handler='handler1' --handler='handler2(arg1, arg2)'
Londiste standard handler is default and always appended to custom plugins.
|