summaryrefslogtreecommitdiff
path: root/python/londiste/handler.py
AgeCommit message (Collapse)Author
2013-10-17londiste: added ignore_truncate handler optionmartinko
Truncate events can be ignored on per handler basis.
2013-10-17londiste: moved config processing from dispatch to base handlermartinko
2013-05-15Merge branch 'feature/dispatch_handler_with_sharding' into developmartinko
2013-04-18londiste: initial implementation of shard-ed Dispatch handlermartinko
2013-04-15python: text fixesmartinko
2013-01-14londiste.handler: disable shortcut for specifying handler args together with ↵martinko
its name This will be allowed no more: --handler="hname(arg1=123, …)" It was a weak point through which Londiste setup could be broken.
2012-12-04londiste/handler.py: fixed refactoring bugmartinko
2012-12-04londiste handlers' arg names are checked nowmartinko
2012-12-04londiste/handlers: updated docs / helpmartinko
2012-10-09Londiste compare and repair fixesAsko Oja
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.
2012-06-05handlers: improve documentationMarko Kreen
Add docstrings to part, londiste, qtable, qsplitter, vtable handlers.
2012-06-05londiste.handler: make encoding= param available to part & londiste handlersMarko Kreen
- Move EncodingValidator from dispatch.py to handler.py - Use it in TableHandler (londiste default) - Thus it is inherited by 'part' handler too
2012-03-17londiste.handler: dont crash if handler module does not loadMarko Kreen
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.
2011-12-29londiste: allow whitespace for key in --handler-argMarko Kreen
as we already do it for value, we can aswell do it for key.
2011-10-27londiste: support table renamingMarko Kreen
- 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
2011-09-21londiste x.ini show-handlers: info about handlersMarko Kreen
2011-06-28londiste.handlers: .needs_table methodMarko Kreen
handler can specify whether is actually operates on table
2011-05-11OCM-2279: londiste3 should translate everything to utf8, in a lossy wayEgon Valdmees
where appropriate * added argument 'encoding' to dispatcher handler * tests for invalid utf8 sequences * support for renamed table copy in dispatcher handler
2011-03-17empty handler bug fixEgon Valdmees
2011-02-11londiste; drop chained handler, use single handler per tableMarko Kreen
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.
2010-12-06londiste: load bulkloader by defaultMarko Kreen
2010-12-03londiste handler: convert bulkloader to handlerMarko Kreen
2010-08-30Pluggable per-table handlers for event processing.Marko Kreen
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.