martinko [Tue, 28 Jan 2014 16:04:25 +0000 (17:04 +0100)]
skytools.scripting: added options to lower log level for exceptions
The idea is to suppress error level log messages for a grace period
in order not to pollute logs with transient errors that nobody would act upon.
martinko [Tue, 28 Jan 2014 13:56:29 +0000 (14:56 +0100)]
Merge branch 'feature/retriable_execute' into develop
martinko [Fri, 10 Jan 2014 17:37:22 +0000 (18:37 +0100)]
cleaned up, even more robust, added logging, feature inactive by default
martinko [Wed, 8 Jan 2014 15:00:13 +0000 (16:00 +0100)]
made more robust, returns retry count and valid cursor
martinko [Wed, 8 Jan 2014 11:54:08 +0000 (12:54 +0100)]
another iteration from past
martinko [Wed, 18 Dec 2013 16:16:43 +0000 (17:16 +0100)]
simple retriable execute (for sql)
the idea is that db calls occasionally break due to transient issues and we’d rather have the calls retried before raising exceptions etc
martinko [Tue, 28 Jan 2014 10:47:02 +0000 (11:47 +0100)]
londiste.handlers: removed duplicate debug logging
martinko [Thu, 23 Jan 2014 12:00:53 +0000 (14:00 +0200)]
pgq.cascade.admin: do not allow subscribing to itself (same node)
martinko [Mon, 13 Jan 2014 14:17:37 +0000 (15:17 +0100)]
pgq.localconsumer: added file path check on config load
martinko [Wed, 18 Dec 2013 15:16:41 +0000 (16:16 +0100)]
scripts/data_maintainer.py: fixes
martinko [Tue, 17 Dec 2013 14:54:45 +0000 (15:54 +0100)]
scripts/data_maintainer.py: latest code cleanup
martinko [Mon, 16 Dec 2013 16:04:13 +0000 (17:04 +0100)]
Merge branch 'develop' of skype-git:/git/users/petr.jelinek/skytools-3 into develop
martinko [Sat, 7 Dec 2013 15:15:44 +0000 (16:15 +0100)]
updated londiste.upgrade_schema with fix for londiste.table_info trigger issue
martinko [Fri, 6 Dec 2013 08:53:46 +0000 (09:53 +0100)]
fixed londiste.table_info trigger issue
martinko [Tue, 3 Dec 2013 14:58:47 +0000 (15:58 +0100)]
Merge branch 'hotfix/3.1.5.4' into develop
martinko [Tue, 3 Dec 2013 14:46:52 +0000 (15:46 +0100)]
debian/changelog: updated
martinko [Tue, 3 Dec 2013 14:46:09 +0000 (15:46 +0100)]
londiste.handlers.dispatch: fixed "ignore events aiming at obsolete partitions" bug
but really :-)
Marko Kreen [Wed, 30 Oct 2013 23:35:05 +0000 (01:35 +0200)]
sql/pgq: tag pgq.batch_id_seq as dumpable (extension)
That case was broken in old 9.1 releases, fixed since 9.1.7.
The sequence will be owned by extension and without tagging
it will not be dumped in data dump.
martinko [Mon, 11 Nov 2013 14:22:53 +0000 (15:22 +0100)]
python/pgq: fixes (event & walker)
Petr Jelinek [Sun, 1 Dec 2013 23:55:15 +0000 (00:55 +0100)]
DataMaintainer can use csv file as source.
martinko [Mon, 11 Nov 2013 14:22:53 +0000 (15:22 +0100)]
python/pgq: fixes (event & walker)
martinko [Tue, 22 Oct 2013 11:42:28 +0000 (13:42 +0200)]
noise .. little howto cleanup
martinko [Thu, 17 Oct 2013 14:58:05 +0000 (16:58 +0200)]
londiste: added ignore_truncate handler option
Truncate events can be ignored on per handler basis.
martinko [Thu, 17 Oct 2013 14:23:31 +0000 (16:23 +0200)]
londiste: moved config processing from dispatch to base handler
martinko [Mon, 7 Oct 2013 11:32:42 +0000 (13:32 +0200)]
scripts/data_maintainer.py: cleaned up
martinko [Thu, 3 Oct 2013 09:23:23 +0000 (11:23 +0200)]
.gitignore updated
martinko [Thu, 3 Oct 2013 09:19:53 +0000 (11:19 +0200)]
scripts/data_maintainer.py: added dynamic throttling support (via sql)
martinko [Wed, 2 Oct 2013 12:39:52 +0000 (14:39 +0200)]
scripts/data_maintainer.py: clean-up
martinko [Fri, 20 Sep 2013 14:09:06 +0000 (16:09 +0200)]
Merge branch 'master' of skype-git:/git/dba/skytools-3
martinko [Fri, 20 Sep 2013 12:39:32 +0000 (14:39 +0200)]
debian/changelog: updated
martinko [Fri, 20 Sep 2013 12:51:13 +0000 (14:51 +0200)]
Merge branch 'master' into develop
martinko [Fri, 20 Sep 2013 12:50:28 +0000 (14:50 +0200)]
Merge branch 'hotfix/3.1.5.3' into develop
Conflicts:
debian/changelog
martinko [Fri, 20 Sep 2013 12:40:41 +0000 (14:40 +0200)]
Merge branch 'hotfix/3.1.5.3'
martinko [Fri, 20 Sep 2013 12:39:32 +0000 (14:39 +0200)]
debian/changelog: updated
martinko [Thu, 19 Sep 2013 15:30:18 +0000 (17:30 +0200)]
londiste.handlers.dispatch: fixed "ignore events aiming at obsolete partitions" bug
Marko Kreen [Wed, 18 Sep 2013 12:41:16 +0000 (15:41 +0300)]
deb: include data_maintainer3 in package
Marko Kreen [Sun, 18 Aug 2013 15:27:33 +0000 (18:27 +0300)]
sql/pgq: fix retry-queue vs. newgrants
martinko [Thu, 19 Sep 2013 15:30:18 +0000 (17:30 +0200)]
londiste.handlers.dispatch: fixed "ignore events aiming at obsolete partitions" bug
martinko [Thu, 19 Sep 2013 15:28:19 +0000 (17:28 +0200)]
python: amendments
martinko [Thu, 19 Sep 2013 12:46:01 +0000 (14:46 +0200)]
londiste.drop_obsolete_partitions: drop tables in alphabetical order (that is from the oldest)
martinko [Thu, 19 Sep 2013 12:40:25 +0000 (14:40 +0200)]
Merge branch 'master' of skype-git:/git/users/petr.jelinek/skytools-3 into develop
martinko [Thu, 19 Sep 2013 12:38:00 +0000 (14:38 +0200)]
Merge branch 'master' of https://github.com/markokr/skytools into develop
Marko Kreen [Wed, 18 Sep 2013 13:02:46 +0000 (16:02 +0300)]
Get rid of dictfetch*() usage, it's obsolete.
Marko Kreen [Wed, 18 Sep 2013 12:41:16 +0000 (15:41 +0300)]
deb: include data_maintainer3 in package
Petr Jelinek [Wed, 4 Sep 2013 12:55:29 +0000 (14:55 +0200)]
Add timeout for add-table operation to avoid possible locking issues.
Marko Kreen [Sun, 18 Aug 2013 15:27:33 +0000 (18:27 +0300)]
sql/pgq: fix retry-queue vs. newgrants
Marko Kreen [Fri, 9 Aug 2013 14:51:02 +0000 (17:51 +0300)]
Merge remote-tracking branch 'gamato/master'
martinko [Fri, 9 Aug 2013 14:03:35 +0000 (16:03 +0200)]
Merge branch 'release/skytools_3_1_5' into develop
martinko [Fri, 9 Aug 2013 14:03:34 +0000 (16:03 +0200)]
Merge branch 'release/skytools_3_1_5'
martinko [Fri, 9 Aug 2013 14:01:16 +0000 (16:01 +0200)]
v3.1.5
Marko Kreen [Wed, 31 Jul 2013 09:36:53 +0000 (12:36 +0300)]
Merge remote-tracking branch 'gamato/develop'
martinko [Wed, 31 Jul 2013 09:26:01 +0000 (11:26 +0200)]
Merge branch 'develop' into release/skytools_3_1_5
martinko [Wed, 31 Jul 2013 09:21:51 +0000 (11:21 +0200)]
londiste.handlers.shard: fixed incomplete docstring for part handler
martinko [Fri, 26 Jul 2013 12:09:51 +0000 (14:09 +0200)]
preparation for upcoming release (updating files)
Marko Kreen [Fri, 26 Jul 2013 11:54:01 +0000 (14:54 +0300)]
pgq_node.get_node_info: document node_attrs
martinko [Thu, 18 Jul 2013 16:13:54 +0000 (18:13 +0200)]
londiste/repair: made less verbose
(in response to "londiste3 repair command floods the console with the diff mesages")
martinko [Wed, 10 Jul 2013 10:14:37 +0000 (12:14 +0200)]
Merge branch 'master' of https://github.com/markokr/skytools into develop
martinko [Wed, 10 Jul 2013 10:13:29 +0000 (12:13 +0200)]
Merge branch 'feature/skylog_tnetstrings_via_udp' into develop
Marko Kreen [Tue, 9 Jul 2013 10:35:10 +0000 (13:35 +0300)]
Merge remote-tracking branch 'tarvip/walmgr-createslave'
Tarvi Pillessaar [Mon, 10 Jun 2013 06:20:35 +0000 (09:20 +0300)]
walmgr: new command createslave and new option --synch-standby
Marko Kreen [Mon, 8 Jul 2013 10:24:14 +0000 (13:24 +0300)]
Merge remote-tracking branch 'petr/master'
Marko Kreen [Sun, 7 Jul 2013 14:50:07 +0000 (17:50 +0300)]
pgq: move RetriableEvent to consumer.py
It's hard to get overview if the retry-related code
is laying around in different places.
As only Consumer class deals with retry, move all crap
into same file.
Marko Kreen [Sun, 7 Jul 2013 14:45:10 +0000 (17:45 +0300)]
pgq.Consumer: non-lazy loading should use RetriableEvent
Marko Kreen [Tue, 2 Jul 2013 13:13:45 +0000 (16:13 +0300)]
pgq.logutriga: don't quote '-'
Not needed and now logutriga() behavior matches
skytools.db_urlencode() and urllib.quote_plus().
Petr Jelinek [Tue, 2 Jul 2013 09:53:59 +0000 (11:53 +0200)]
Add consumer_filter option to simple_local_consumer.
Marko Kreen [Fri, 21 Jun 2013 09:24:46 +0000 (12:24 +0300)]
set_tcp_keepalive: accept socket object directly
martinko [Thu, 20 Jun 2013 19:49:32 +0000 (21:49 +0200)]
Merge branch 'master' of https://github.com/markokr/skytools into develop
martinko [Thu, 20 Jun 2013 19:42:23 +0000 (21:42 +0200)]
londiste: resync now checks if table is available on provider
Marko Kreen [Thu, 20 Jun 2013 17:39:26 +0000 (20:39 +0300)]
pgq: Consumer class also need _make_event, for _load_batch_events_old()
Marko Kreen [Wed, 19 Jun 2013 21:17:04 +0000 (00:17 +0300)]
londiste: fix multi -v passing
Marko Kreen [Wed, 19 Jun 2013 21:17:26 +0000 (00:17 +0300)]
Merge remote-tracking branch 'gamato/develop'
Marko Kreen [Wed, 19 Jun 2013 20:22:17 +0000 (23:22 +0300)]
news: fix date
Marko Kreen [Wed, 19 Jun 2013 20:20:08 +0000 (23:20 +0300)]
londiste --wait-sync: show progress in absolute numbers
This gives more information and is less random.
martinko [Mon, 27 May 2013 18:12:50 +0000 (20:12 +0200)]
londiste: add-table supports --find-copy-node working with --create now
Marko Kreen [Sun, 26 May 2013 19:55:38 +0000 (22:55 +0300)]
querybuilder: show list of missing arguments on KeyError
martinko [Mon, 20 May 2013 11:23:25 +0000 (13:23 +0200)]
londiste: resync supports --find-copy-node and --copy-node options now
martinko [Fri, 17 May 2013 13:10:31 +0000 (15:10 +0200)]
londiste.playback: support multiple -v options for workers
martinko [Thu, 16 May 2013 14:52:09 +0000 (16:52 +0200)]
londiste.handlers: renamed handler 'part' to 'shard'
It was getting more and more confusing, especially since 'dispatch' handler mixed both partitioning types (table and database) in one class.
martinko [Thu, 16 May 2013 12:59:23 +0000 (14:59 +0200)]
londiste.handlers.dispatch: added switch to ignore events aiming at obsolete (dropped) partitions
martinko [Wed, 15 May 2013 14:43:56 +0000 (16:43 +0200)]
londiste.handlers: fixes
martinko [Wed, 15 May 2013 12:32:06 +0000 (14:32 +0200)]
Merge branch 'feature/dispatch_handler_with_sharding' into develop
Marko Kreen [Tue, 14 May 2013 11:47:16 +0000 (14:47 +0300)]
londiste add-table: --skip-non-existing ignores tables not on provider
martinko [Thu, 2 May 2013 09:46:53 +0000 (11:46 +0200)]
londiste: moved hash_key logic from dispatch to part handler
martinko [Thu, 2 May 2013 09:19:42 +0000 (11:19 +0200)]
londiste: changed handler argument 'key' to 'hash_key'
Marko Kreen [Tue, 30 Apr 2013 10:57:14 +0000 (13:57 +0300)]
skytools.timeutil: make tests more robust
microsec -> float secs conversion can lose some precision
martinko [Tue, 30 Apr 2013 09:49:17 +0000 (11:49 +0200)]
skytools.skylog: added more fields to UdpTNetStringsHandler log message
martinko [Tue, 30 Apr 2013 09:38:00 +0000 (11:38 +0200)]
skytools.skylog: moved hostaddr resolving to module init
No need to do it per log call as hostname is constant currently.
Marko Kreen [Thu, 25 Apr 2013 13:45:49 +0000 (16:45 +0300)]
news: fix typos
martinko [Wed, 24 Apr 2013 12:13:58 +0000 (15:13 +0300)]
skytools.scripting: more safety in run_func_safely()
Scenario resolved:
startup() fails and some variables are never initialised. those are used in overridden send_stats() which is called from generic exception handler in run_func_safely(). thus a new exception is raised that would obscure the original exception raised in startup().
martinko [Thu, 18 Apr 2013 14:06:56 +0000 (16:06 +0200)]
londiste: initial implementation of shard-ed Dispatch handler
martinko [Thu, 18 Apr 2013 13:55:38 +0000 (15:55 +0200)]
scripts/data_maintainer.py: added suffix "3" to service name
martinko [Thu, 18 Apr 2013 13:30:35 +0000 (15:30 +0200)]
skytools.skylog: initial implementation of UdpTNetStringsHandler
Marko Kreen [Thu, 18 Apr 2013 11:55:25 +0000 (14:55 +0300)]
londiste copy: fix data filtering when parallel_copies > 1
The problem appears in 'catching-up' phase were code checked
table status only and not whether the table is owned by
current process. Then events can be replayed by several copy
processes when they are all in catching-up phase.
The problem does not appear when local_only=1.
Also remove unused function.
Marko Kreen [Thu, 18 Apr 2013 11:49:07 +0000 (14:49 +0300)]
londiste status: make node name easier to select
Marko Kreen [Sat, 30 Mar 2013 18:28:21 +0000 (20:28 +0200)]
grantfu: 2-pass processing
First revokes, then grants.
This supports one-object-in-several-sections situation.
Although that is bad style and better avoided, current
behavour results in unobvious breakage.
Marko Kreen [Sat, 30 Mar 2013 18:27:26 +0000 (20:27 +0200)]
londiste add: --skip-non-existing option
Marko Kreen [Fri, 29 Mar 2013 11:33:41 +0000 (13:33 +0200)]
parse_pgarray: allow None
Marko Kreen [Wed, 17 Apr 2013 08:30:38 +0000 (11:30 +0300)]
v3.1.4
Marko Kreen [Wed, 17 Apr 2013 08:28:41 +0000 (11:28 +0300)]
doc: mention config option in create-* commands
Marko Kreen [Tue, 16 Apr 2013 19:24:59 +0000 (22:24 +0300)]
todo: remove few done items