martinko [Wed, 9 Apr 2014 15:59:41 +0000 (17:59 +0200)]
Merge branch 'hotfix/3.2.1' into develop
martinko [Wed, 9 Apr 2014 15:56:55 +0000 (17:56 +0200)]
v3.2.1
martinko [Wed, 9 Apr 2014 15:36:44 +0000 (17:36 +0200)]
moved psycopg2 reference from scripting module to actual script using it
martinko [Wed, 9 Apr 2014 15:25:14 +0000 (17:25 +0200)]
skytools.scripting: moved psycopg2 import where it belongs
martinko [Wed, 9 Apr 2014 15:22:50 +0000 (17:22 +0200)]
martinko [Wed, 9 Apr 2014 15:21:43 +0000 (17:21 +0200)]
Merge branch 'develop' into hotfix/3.2.1
martinko [Tue, 8 Apr 2014 09:45:12 +0000 (11:45 +0200)]
skytools.timeutil: fixed for Python versions less than 2.7
martinko [Mon, 7 Apr 2014 12:33:23 +0000 (14:33 +0200)]
setup_skytools.py: fixes
martinko [Mon, 7 Apr 2014 10:32:06 +0000 (12:32 +0200)]
libusual updated to the latest version (that is already 9 months old)
Marko Kreen [Wed, 2 Apr 2014 17:48:13 +0000 (20:48 +0300)]
Update setup*.py to point to correct license.
martinko [Wed, 2 Apr 2014 14:55:14 +0000 (16:55 +0200)]
Merge branch 'release/3.2'
martinko [Wed, 2 Apr 2014 14:55:14 +0000 (16:55 +0200)]
Merge branch 'release/3.2' into develop
martinko [Tue, 1 Apr 2014 12:45:51 +0000 (14:45 +0200)]
bumped up version to 3.2
let's get trendy ... it's no good to be stuck on same minor version for so long ;-)
and it actually did not make sense ... quite a few important features appeared
martinko [Mon, 17 Mar 2014 15:29:15 +0000 (16:29 +0100)]
bumped up version to 3.1.6rc2
martinko [Mon, 17 Mar 2014 15:24:28 +0000 (16:24 +0100)]
NEWS: updated
martinko [Mon, 17 Mar 2014 15:21:50 +0000 (16:21 +0100)]
londiste.upgrade_schema: fixed condition_timing vs action_timing
martinko [Mon, 17 Mar 2014 15:20:52 +0000 (16:20 +0100)]
typos
martinko [Thu, 20 Feb 2014 15:08:56 +0000 (16:08 +0100)]
bumping up versions in preparation for upcoming release
martinko [Thu, 20 Feb 2014 13:40:37 +0000 (14:40 +0100)]
Merge branch 'master' of https://github.com/markokr/skytools into develop
martinko [Wed, 19 Feb 2014 12:44:58 +0000 (13:44 +0100)]
londiste.create_partition: fixed to avoid deadlocks from concurrent workers
Marko Kreen [Tue, 18 Feb 2014 15:07:28 +0000 (17:07 +0200)]
Merge pull request #29 from andrewsw-janrain/master
quote sequence names
martinko [Tue, 18 Feb 2014 13:52:20 +0000 (14:52 +0100)]
scripts/data_maintainer.py: fixed to survive null in stats column of sql_modify
Andrew Sackville-West [Tue, 4 Feb 2014 18:47:31 +0000 (10:47 -0800)]
quote sequence names
fixes a bug where _load_elem fails on sequences in schemas that start
with non-alpha characters.
martinko [Mon, 3 Feb 2014 08:28:08 +0000 (09:28 +0100)]
Merge branch 'master' of https://github.com/markokr/skytools into develop
Conflicts:
debian/changelog
martinko [Thu, 30 Jan 2014 13:08:34 +0000 (14:08 +0100)]
skytools.scripting: allow to specify exception(s) to suppress for a grace period
It is possible to provide a list of exception names, or reserved keyword “ALL”.
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'
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)
Marko Kreen [Wed, 6 Nov 2013 00:03:51 +0000 (02:03 +0200)]
set_tcp_keepalive: simplify, enable win32
The code got messy, clean it up.
Also, seems like Python 2.7+ support SIO_KEEPALIVE_VALS,
enable it's usage.
Marko Kreen [Tue, 5 Nov 2013 23:28:31 +0000 (01:28 +0200)]
skytools.set_tcp_keepalive: add compat with newer OSX
Newer OSX has Linux-style TCP_KEEPIDLE/TCP_KEEPCNT
socket options, but TCP_KEEPIDLE is missing, instead
it has old well-hidden TCP_KEEPALIVE option. So it
branches into Linux section and fails there.
This patch detects every Linux option separately
and uses TCP_KEEPALIVE instead TCP_KEEPIDLE
on Darwin.
It does expect that Python is compiled against current
OSX versions, and headers match running kernel. So if
option is defined in 'socket' module, it works.
Reported-by: Rob Fowler
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.
Marko Kreen [Wed, 30 Oct 2013 12:15:24 +0000 (14:15 +0200)]
deb: support Postgres 9.3, 9.4
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
Marko Kreen [Fri, 4 Oct 2013 12:37:05 +0000 (15:37 +0300)]
Merge remote-tracking branch 'gamato/master'
Conflicts:
debian/changelog
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()