summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-13[refactor] make delete_blob() return a deferreddrebs
2017-12-13[refactor] make blobs backend delete_blob() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend write_blob() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend set_flags() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend read_blob() agnostic of twisted.webdrebs
2017-12-13[refactor] make blobs backend list_blobs() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend get_flags() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend count() agnostic of twisted.web requestsdrebs
2017-12-13[refactor] make blobs backend get_tag() agnostic of twisted.web requestsdrebs
2017-12-13[feature] add an exception for blobs not founddrebs
2017-12-13[refactor] remove unneeded classdrebs
2017-12-13[doc] add api doc for blobs backenddrebs
2017-12-12[bug] use namespace when uploading blobsdrebs
2017-12-12[test] fix bug in blobs fs backend benchmark testdrebs
The new benchmark test for blobs fs backend was rebased from a merge request in which it was written using the new interface for blobs backend. After rebase, the test was not reverted to old interface, and was just failing bad. This commit fixes it.
2017-12-11[benchmark] add read/write benchmark for blobs fs backenddrebs
2017-12-05[bug] transfer maximum allowed number of blobsdrebs
-- Closes: #9004
2017-12-04[bug] escape tag and sizeVictor Shyba
It was generating spaces, causing split to fail sometimes.
2017-12-04[style] fixes from code reviewVictor Shyba
2017-12-01[feature] stream blobs from a CooperativeTaskVictor Shyba
Adds a CooperativeTask to stream blobs to client as the transport is able to handle it, pausing and resuming as necessary. -- Related: #8809
2017-12-01[feature] adds a stream downloaderVictor Shyba
First version, still missing consumer/producer model and some tweaks, but working. -- Related: #8809
2017-12-01[feature] add implementation for get_blob_sizeVictor Shyba
2017-12-01[test] init StreamingResource on test_blobs_serverVictor Shyba
-- Related: #8809
2017-12-01[refactor] get namespace as an optional query argVictor Shyba
2017-12-01[bug] missing self parameter on class methodVictor Shyba
2017-12-01[feature] add a streaming resourceVictor Shyba
-- Related: #8809
2017-12-01[style] fix typoVictor Shyba
2017-11-30[style] remove public get/set blob priority methodsdrebs
2017-11-30[bug] avoid overwriting priorities on sync status batch updatedrebs
2017-11-30[style] some sugar for setting the priorityKali Kaneko
2017-11-30[feature] add priorities for blob transfersdrebs
Closes: #8691
2017-11-29[feature] add bandwidth throttling to the clientdrebs
Intercept the creation of the protocol factory in the HTTP connection pool to use twisted.protocols.policies.ThrottlingFactory and control the incoming and outgoing bandwidth. The factory only controls one connection, so when throttling we limit the number of connections of the pool to one per host. This way, throttling happens in a per-host basis. Closes: #8931
2017-11-22[refactor] simplify decorated test parametersVictor Shyba
2017-11-22[test] improve isolation by avoiding _all_dbsVictor Shyba
Accessing _all_dbs slows down the test and open possibilites for heisenbugs where some old leftover database can change code behavior. -- Resolves: #9001
2017-11-22[refactor] extract list dbs methodVictor Shyba
2017-11-22[refactor] remove unused parameterVictor Shyba
2017-11-22[pkg] update changelog0.10.5drebs
2017-11-22[pkg] update debian changelogdrebs
2017-11-22[pkg] bump sphinx release infodrebs
2017-11-22[test] avoid collision when running fs backend tests in paralleldrebs
Closes: #9000
2017-11-22[bug] remove SOLEDAD_COUCH_URL test envVictor Shyba
It was None for parallel tests and there is already a mechanism in place for setting this URL, which avoids it being set in two different places.
2017-11-22[feature] make logs less noisy by monkey-patching ↵drebs
twisted.internet.protocol.Factory
2017-11-22[bug] properly log missing schema version in config docdrebs
2017-11-22[bug] ensure shutdown happens only after reactor startdrebs
2017-11-22[bug] fix logging while checking CouchDB schema versions on server startupdrebs
2017-11-21[bug] use os._exit to ensure a clean log on startup failuredrebs
2017-11-21[docs] add entry for next release to changelogKali Kaneko
2017-11-20[test] avoid failing when there's no couch_url in environment variabledrebs
2017-11-20[bug] log and exit on server startup errorsdrebs
Some errors during server startup could leave the server in a zombie state (running, but not listening). This commit makes sure the server stops if errors occur during deferreds created on server startup. Closes #8997.
2017-11-20[bug] use reactor.stop() to exit when server startup checks faildrebs
Our current use of sys.exit(20) to stop the server when startup checks fail affects logging in a bad way. This commit uses a system event trigger to exit with the desired status code when startup checks fail. Closes: #8996
2017-11-20[test] always use a tempdir for server fixture config filedrebs
When starting up a Soledad Server through the use of a fixture in tests, a config file is created with the options needed for that test. As the config file was being created in /etc and not being removed, this was influencing servers started by other tests that don't use that fixture. By always using a temporary directory in the server fixture, we make sure that the config file is used only for that test and is removed after the test is finished. Closes: #8995