Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570
Testing of incremental attachments and more testing of multipart/handling.
Better testing of multipart/related
Remove debigging messages
Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.
Add doc id validation when creating a new document with the standalone attachment API. Closes COUCHDB-565.
typo, thanks David Coallier
add safety net for code accidents where the document id in a doc delete request got missing accidentally
Added batching of multiple updating requests, to improve throughput with many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible.
Allow updating a doc along with an attachment when posted from an HTML form. Patch by Robert Newson. Closes COUCHDB-436. We still need tests for the entire form-upload function.
Fixed a minor bug with attachments of zero length. The Erlang PID handling the request would crash after headers were sent so that the browser never noticed but my cURL client did.
asking for a missing rev with ?rev or ?open_revs was a 500 response
bugfix for _changes when DB is deleted mid-response
include_docs now take an _id (as well as a _rev) in the emitted value, to load docs other than the one doing the emitting. This means you can have one doc list a set of other docs to load in a single query. Enjoy!
add limit to _changes
fix attachments with an undefined Content-Length header and no TE, patch by Benoit Chesneau, closes COUCHDB-497
View refactoring and addition of raw collationoption. Significant performance improvements in view indexer.
finish committing my changes adventure. pardon the dust.
rollback mixed up commit, builds now
support for deletions in changes feed
removed _all_docs_by_seq in favor of _changes
Refactoring of endkey code in views and btrees. End key functionaility is now handled inside the btree code, simplfying calling code and making it trivial to add new collation options
choice of uuid algos for better insert perf. Closes COUCHDB-465. Thanks rnewson, bitdiddle
guard against non-existing filters in _changes
send deleted docs to _changes filters
_ensure_full_commit?seq=N to ensure everything up to N is committed
continuous _changes are now newline-delimited JSON Objects (no commas)
Make POST's reflect a provided _id member. Fixes COUCHDB-468
replace regexp with re. Thanks Kim Shrier, Gordon Stratton. Closes COUCHDB-245
delayed commits are now a config option, off by default. Closes COUCHDB-449
Fixes COUCHDB-422 - Reject invalid _local doc ids.
benoitc's attachment PUT patch passes tests for me. Closes COUCHDB-461
apply Benoit's patch fixing attachment content-length handling for GET from COUCHDB-461
rollback _conflicts view patch
add native /db/_conflicts view, patch by Adam Kocolosk, closes COUCHDB-462
recloses COUCHDB-4 (view etags) thanks to Matt Goodall for the tests. keep 'em coming!
encode slashes in db names in Location response header after database creation, move couch_rep:url_encode/1 to couch_util:url_encode/1, closes COUCHDB-411
implement longpolling for _changes, unify _changes-mode parameters, patch by Benoit Chesneau, closes COUCHDB-241
comment on jchris comment on not sending Content-Length for attachment GETs
Close jsonp response for _changes requests. Patch by Benoit Chesneau. Closes COUCHDB-418.
Optimize filtered _changes to use an OS process only when actively filtering changes with the continuous=true option.
Initial checkin of _changes filters. The prime weak-spot for this approach is that it maintains an OS-process per connected filtered _changes consumer. I'm pretty sure we'll be able to work around this without changing the API, but it'll involve a lot of OS-process bookkeeping. Those enhancements should generally improve show & list performance as well. Punting on them for now, first wanted to get _changes filters implemented so people could give feedback.
Deterministic revids, MD5 checking of documents, added tracking of rev when an attachment is edited to allow attachment level replication.
wheeeeeeee
removed some unnecessary logging
send Location header for new or updated attachments
fix attachment etags, thanks Mark Hammond for the test case. closes COUCHDB-386
Apply patch from Benoit Chesneau's COUCHDB-404 Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like: /db/docid?show=blog/post /db/_view/blog/posts?list=index We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters.
Fixes COUCHDB-389 Provide an offset calculation for all view responses. Thanks Brad Anderson.
trimmed trailing whitespace
Name view index files by their function hashes for no downtime deploys. Closes COUCHDB-218 Adds ability to switch view indexes on the fly by building the index from a "staging" design doc, and then COPYing the staging doc to the production doc's id. Since indexes are referenced by view definition, the new version of the production design doc will point immediately to the index files already built in staging. Please use and give feedback.
removed some dead code found by Dialyzer, more to come
Fixes COUCHDB-383 - Ignore extra URL parameters. No one opposed the switch so here it is.
Added tests for heartbeat and timeout options in the _changes api.
Removed space from whitespace heartbeat in _changes api
Added timeout and heartbeat options to the _changes api
Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading.
Added stats tracking for active _changes clients.
added an design doc option so that doc._local_seq can be available in the map view. Closes COUCHDB-346
export a method
refactor JSON body error handling, also consolidate update_docs JSON response generation.
Refactor the make_view_fold_function stuff. Added a proper Acc to both map and reduce view folds. Cleaned up some pattern matchers.
First cut at _changes api. Update the by_id and by_seq indexes to contain update seq numbers and pointers to bodies on disk, for use in the _changes api. This is a new file version, but the code can continue to serve the old 0.9 version without problems, though certain features in the _changes api will not be able to work. Upgrade to new file version (from 1 to 2) by compacting the file. Also fixed bugs with how the stats api tracks open databases.
standalone attachment GETs should respect "rev" qs param
Use batch=ok query param for document PUT and POST to defer index updates until a threshold of documents (or amount of time) has been passed. This option returns a 202 Accepted response instead of a 201 Created, so do not use it for applications which require all data to be saved safely to disk. It is ideal for applications like logging where losing some events in a crash will be ok.
Resolves COUCHDB-332 Proper errors for invalid docids.
Refactoring the view URL parameter parsing.
COUCHDB-306 - Improving reported errors. Case #3 turns out to be misusing the end-point for HTML forms that Futon uses. For new people it would also be triggered by accidentally using POST when a PUT to /db_name/docid is used.
Resolves COUCHDB-306 - Wacky error responses to malformed documents Mostly adds improvements to the parsing of Json bodies for _bulk_docs and multi-get queries. Includes tests in basics.js and view_errors.js.
added compaction for view indexes. See COUCHDB-92 No tests or Futon interface for this feature yet.
Location header responses should be absolute URIs, thanks Christopher
return a Location header on newly created documents using PUT requests
return Location header for newly create databases
provide a 404 response on deletion of non-existant docs closes COUCHDB-297
Bring back Futon attachment uploading that was removed in the recent rep_security merge. Should close COUCHDB-295. Ideally this would have a test, but that will need some trickery.
remove MOVE requests as they can't sensibly be supported and COPY & DELETE does the same thing
Commit Damien's rep_security branch to trunk. Changes bulk_docs conflict checking. Breaks file format, see mailing list for data upgrade procedure, or http://wiki.apache.org/couchdb/Breaking_changes
merge design doc resource branch. breaking changes to _view query paths. closes COUCHDB-280
tiny refactor of validate_attachment_name for pattern matching
Verify attachment names. They must be utf-8 (closes COUCHDB-280) and must not start with an underscore.
refactor show 404 handling doc-loading special case out of couch_httpd_db.erl
allow for handling 404s in document show functions
- group HTTP method stats into httpd_requests_methods as per Christopher Lenz's suggestion - renamed http_status_codes to httpd_status_codes - better internal variable naming - remove comments that were leftovers from earlier refactoring
- add descriptions to metrics - move document_* metrics to couch_db module and merge them into database_* metrics
Add runtime statistics -- without EUnit tests for now.
View etags are now provided. See note in the source about how they could be more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4
Accept standalone attachment PUTs with Transfer-Encoding: chunked Includes a patch to mochiweb_request that is under review for inclusion upstream.
extract method couch_httpd:send_redirect(Req, Path)
swap 412 ad 409 error codes. fixes COUCHDB-226
POST to create docs returns a Location header. fixes COUCHDB-8
Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication. Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting.
Improved etag handling for show funcs and db_doc requests; main.js cleanup (baby steps); null doc allowed for show funcs
View list functions can stream views in any format. See list_views test for details.
Fix some eJSON stragglers (works with mochijson2, but not eep18). thanks kocolosk!
fix for COUCHDB-214 (design docs on dbs with slashes)
Support for streaming attachment writes.
Polishing _design/doc urls with slashes -- adding auto redirect from the old %2F style urls to the new pretty ones.
Added support so clients can detect if a server has potentially lost commits after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications.
fixed _all_docs view to use the correct PassedEndFun for binary docid sorting
Delayed commit patch. Allows documents to be saved immediately but fully committed asynchronously. On by default, to fully commit documents synchronously, use X-Couch-Full-Commit=true in the http header. We still needs to prevent committing view indexes ahead of data and to detect when a server has crashed causing potentially lost updates during remote replication (fixed by retrying the incremental replication).
change count to limit in view query params
add etags to standalone attachment requests. Closes COUCHDB-184
design docs use slashes. attachements with slashes in the name can be accessed with slashes in the url
Fix Etag checking for document requests: need to convert Etag header value to binary early, as the `ExplicitRev` is already a binary, thus the comparison would fail.
move couchdb to tlp
_all_docs_by_seq works with descending=true
Nearly completed security/validation work. Still needs replication testing.
More security and validation work. Still incomplete.
Check in of initial validation and authorization work. This work is incomplete, as there is not yet any way of restricting who can update the design docs.
First check-in of admin http authentication and authorization.
remove content-length header from file attachment responses. see inline comments
include_docs option adds a doc member to view rows with the latest _rev of the document (or the _rev specified in the row value)
added multi-key requests to _view, _temp_view, and _all_docs (with help from davisp)
Added files forgotten in the httpd refactoring checkin.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |