summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-20add locks for create_doc and update_indexes. Closes: #5139Kali Kaneko
This solves a InterfaceError (sqlite error code 21) we were having with massive concurrent creation/puts.
2014-02-19Remove global client rw lockKali Kaneko
leap.mail is handling locks in a finer-grained way now, so we do not need to block everything so much
2014-01-27Merge remote-tracking branch 'refs/remotes/ivan/bug/always-return-unicode' ↵Tomás Touceda
into develop
2014-01-27Always return unicode, even on UnicodeError.Ivan Alejandro
2014-01-27Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/improve-unauthorized-errors' into develop
2014-01-26Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/feature/sqlite_optimization_pragmas' into develop
2014-01-26add pragmas for temp_store=mem and synchronous=offKali Kaneko
controlled by environmental variables
2014-01-25Improve unauthorized error messages.drebs
2014-01-24Add decorator to register exceptions.drebs
2014-01-22Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/improve-design-doc-unknown-error-message' into develop
2014-01-22Improve DesignDocUnknownError error reporting.drebs
2014-01-22Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/add-debian-package-build-script' into develop
2014-01-22Add debian package build dev script.drebs
2014-01-22Fix dev scripts doc and names.drebs
2014-01-20Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/feature/4836_allow-sync-of-large-files' into develop
2014-01-20Make couch tests use only one couch instance.drebs
2014-01-20Add test for syncing many small documents (#4836).drebs
2014-01-20Allow sync of large files (~100MB) (#4836).drebs
2014-01-20Move lock resource to its own file.drebs
2014-01-17Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/feature/4994_improve-error-messages-on-client' into develop
2014-01-17Fix typo on tempfile.gettempdir() call.drebs
2014-01-17Improve error reporting on couch backend design documents access failure ↵drebs
(#4994).
2014-01-16Merge remote-tracking branch 'refs/remotes/kali/feature/rw_lock_client_ops' ↵Tomás Touceda
into develop
2014-01-15add rw_lock to client opsKali Kaneko
2014-01-07Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/feature/4918_ensure-server-side-locks-use-temporary-directory' into develop
2014-01-07Use temp dir for server side locks (#4918).drebs
2014-01-06Merge remote-tracking branch ↵Kali Kaneko
'drebs-github/bug/4435_add-proper-error-reporting-to-shared-db-lock' into develop
2014-01-06Add proper error reporting to shared db lock.drebs
2013-12-24Merge remote-tracking branch ↵Kali Kaneko
'drebs-github/feature/4451_avoid-concurrent-syncs' into develop
2013-12-24Avoid concurrent sync attempts from the same replica in the client (#4451).drebs
2013-12-20Merge remote-tracking branch 'refs/remotes/kali/bug/reuse-http-connection' ↵Tomás Touceda
into develop
2013-12-20catch cannotsendrequest exceptionKali Kaneko
2013-12-19Set soledad timeout default to 2 minKali Kaneko
2013-12-19Do not instantiate the synchronizer each time.Kali Kaneko
This has the nice effect of letting the persistent-connection reuse the existing connection, avoiding the ssl handshake overhead each time we try to synchronize. This can be traced by logging the instantiation of HttpClientBase in u1db.remote I *think* we should be fine with the timeouts as long as we keep the sync period along the 1 min we are doing now. For other cases, we should look into how to override the default timeout in httplib (used by u1db http_client).
2013-12-19Merge remote-tracking branch 'refs/remotes/kali/fix/really_enable_gzip' into ↵Tomás Touceda
develop
2013-12-19add http-encoding header, decode it tooKali Kaneko
2013-12-19Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/feature/consistent-metadata' into develop
2013-12-19Add couch atomicity tests.drebs
2013-12-18remove conditional gzip, fix importKali Kaneko
2013-12-18Add changes file.drebs
2013-12-18Add database migration script.drebs
2013-12-18Add 'ddocs.py' generation on setup.py.drebs
2013-12-18Remove index tests for couch backend.drebs
2013-12-18Fix couch tests to reflect remodelling.drebs
2013-12-18Monkey-patch u1db to use CouchDocument.drebs
2013-12-18Make couch backend consistent and lightweight.drebs
This commit introduces the use of couch view, list and update functions to put and get data from the couch database. This avoids loads of metadata transferring and encapsulates operations in atomic PUTs.
2013-12-17Merge remote-tracking branch 'chiiph-github/bug/versioneer_windows' into developKali Kaneko
2013-12-17Use git.exe instead of git.cmd in windows since we use GitBashTomás Touceda
2013-12-16Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/feature/patch-reported-version' into develop
2013-12-16patch the _version file so it reports the running versionKali Kaneko
until now this was only possible when running python setup.py version from the source tree. now the <module>.__version__ also reports correctly the runnng version