Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all_docs with keys body test case #651

Merged
merged 1 commit into from
Apr 9, 2015
Merged

Conversation

pasin
Copy link
Contributor

@pasin pasin commented Apr 9, 2015

Add POST all_docs with keys in the body to confirm that the issue doesn't exist.
#356

Add POST all_docs with keys in the body to confirm that the issue doesn't exist.

#356
pasin added a commit that referenced this pull request Apr 9, 2015
@pasin pasin merged commit 0586286 into master Apr 9, 2015
@pasin pasin deleted the feature/issue_356_all_docs branch April 9, 2015 00:45
pasin added a commit that referenced this pull request Apr 30, 2015
commit feb7ff5
Merge: 5b98b28 d7047ed
Author: Jens Alfke <jens@couchbase.com>
Date:   Fri Apr 24 15:30:53 2015 -0700

    Merge pull request #673 from couchbase/feature/issue_672_stub_attachment

    Fix pulling documents with sub attachments failure

commit d7047ed
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Fri Apr 24 13:59:08 2015 -0700

    Make -processAttachmentsForRevision ignore the return value of -mutateAttachments

    Per code review, Make -processAttachmentsForRevision ignore the return value of -mutateAttachments.

commit 5b98b28
Author: Jens Alfke <jens@couchbase.com>
Date:   Thu Apr 23 15:49:57 2015 -0700

    Major optimization for updating docs with large numbers of revisions

    Use an O(1) NSDictionary instead of an O(n) CBL_RevisionList to look up
    locally-known revisions by revID when inserting an existing revision.

    In the database I'm testing with, this sped up the entire replication
    by a factor of 8x! (From ~55sec down to ~7sec.)

commit 2b214e4
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Wed Apr 22 17:07:20 2015 -0700

    Fix pulling documents with sub attachments failure

    A few related issues have been fixed:
    1. Correct minRevPos value when stripping the (non modified) attachments. This corrects the performance optimization when pushing documents that have non-modified attachments.
    2. Applying a patch from @snej that "if the attachment is a stub, and the parent revision's JSON isn't known, but the attachment exists locally (based on its digest), just leave the stub alone".
    3. Fix the issue that atts_since parameter has never been sent.

    #672

commit 5c6eed4
Merge: fbbe006 a26dec8
Author: Jens Alfke <jens@couchbase.com>
Date:   Wed Apr 22 10:29:20 2015 -0700

    Merge pull request #666 from couchbase/feature/multipart_retry

    Fix multipart streams need to be recreated when doing retry

commit fbbe006
Merge: 6d6cf16 69c83b1
Author: Jens Alfke <jens@couchbase.com>
Date:   Wed Apr 22 10:25:32 2015 -0700

    Merge pull request #647 from couchbase/feature/issue_638_cblis_many_to_many

    Add CBLIS support for many-to-many relationship

commit 6d6cf16
Merge: 67e591b 1b6d000
Author: Pasin Suriyentrakorn <phasin@gmail.com>
Date:   Fri Apr 17 08:48:56 2015 -0700

    Merge pull request #667 from couchbase/feature/issue_655

    Updated CBL Mac Test app scheme to include mac unit tests

commit 1b6d000
Author: ashvinder <ashvinder@couchbase.com>
Date:   Thu Apr 16 16:16:12 2015 -0700

    Updated CBL Mac Test app scheme to include mac unit tests

commit 67e591b
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Thu Apr 16 15:49:10 2015 -0700

    Fix Mac build issue on OSX10.9 and XCode 6.0

commit 5c80e70
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Thu Apr 16 15:18:00 2015 -0700

    Fix CBLIS NSRelationshipDescription.ordered property mac build failed

    The ordered property has been available since OSX v10.7 so we need to guared that for OSX version less than 10.7.

commit a26dec8
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Thu Apr 16 13:26:43 2015 -0700

    Fix multipart streams need to be recreated when doing retry

    Refactor the CBLMultipartUploader's init method to accept a block for creating a new mutipart writer object instead of a multipart writer object that cannot be reused when doing retry.

    #665

commit e495866
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Wed Apr 15 20:19:43 2015 -0700

    Fix CBL Mac Test App Build Fail

    Removed old and missing CBLJSONValidator.m and CBLJSONValidatorTests.m from the CBL Mac Test App Compile Source.

commit 25f98a7
Merge: 4cf8324 611dca4
Author: Pasin Suriyentrakorn <phasin@gmail.com>
Date:   Wed Apr 15 12:05:51 2015 -0700

    Merge pull request #663 from couchbase/feature/issue_661_docid

    Change docid prefix

commit 611dca4
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Wed Apr 15 11:53:51 2015 -0700

    Change docid prefix

    Change docid prefix from '!' to '-'. Using '!' doesn't work with sync function for the case of using the docid to construct a channel name. Sync gateway doesn't allow '!' as part of the channel name.

    #661

commit 4cf8324
Merge: 02eb6f6 c073243
Author: Jens Alfke <jens@couchbase.com>
Date:   Tue Apr 14 10:14:39 2015 -0700

    Merge pull request #657 from couchbase/feature/issue_649_mapped_file

    Remove NSDataReadingMappedIfSafe when reading attachment content

commit c073243
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Apr 13 16:17:16 2015 -0700

    Remove NSDataReadingMappedIfSafe from CBL_BlobStore.blobForKey

    Remove NSDataReadingMappedIfSafe and use NSDataReadingUncached option when reading blob data for a key.

    #649

commit 02eb6f6
Merge: 868a9b0 79ada94
Author: Jens Alfke <jens@couchbase.com>
Date:   Mon Apr 13 17:17:53 2015 -0700

    Merge pull request #659 from couchbase/feature/attachment_memleak

    Fix circular reference between CBLUnsavedRevision and CBLAttachment

commit 79ada94
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Apr 13 17:12:05 2015 -0700

    Removed body property from CBLAttachment per code review

commit ed0fc74
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Apr 13 16:45:47 2015 -0700

    Remove overriden attachmentNamed: from CBLUnsavedRevision

    - Per code review, removed the overriden attachmentNamed: from the CBLUnsavedRevision class.
    - The new added CBLAttachments get from the attachmentNamed: of the CBLUnsavedRevision will not have revision object set. Updated the unit test accordingly.

commit 868a9b0
Merge: bbd3b72 066d328
Author: Jens Alfke <jens@couchbase.com>
Date:   Mon Apr 13 16:02:24 2015 -0700

    Merge pull request #658 from couchbase/feature/issue_649_file_handlers

    Not pre-open stream in CBL_BlobStore's blobInputStreamForKey

commit a3f6388
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Apr 13 14:58:36 2015 -0700

    Fix circular reference between CBLUnsavedRevision and CBLAttachment

    - As CBLUnsavedRevision keeps CBLAttachment objects in an array so setting the revision (self) object to the CBLAttachment objects will cause circular reference memory leak.

    - Instead of setting the revision (self) object when adding a CBLAttachment to the CBLUnsavedRevision object, overiding the attachmentNamed: method and creating a new CBLAttachment object and adding a revision object there.

commit d7f0855
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Apr 13 11:47:17 2015 -0700

    Remove NSDataReadingMappedIfSafe when reading attachment content

    NSDataReadingMappedIfSafe option can keep the file descriptors of the attachments open if the client application keeps holding the NSData object returned by CBLAttachment.content.

    For a very big attachment, alternatively, users can call contentURL and read the NSData with the NSDataReadingMappedIfSafe option themselves.

    #649

commit 066d328
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Fri Apr 10 16:23:03 2015 -0700

    Not pre-open stream in CBL_BlobStore's blobInputStreamForKey

    There is no needs to pre-open the stream except when decrypting the stream. This helps reduce number of opened file descriptors when pushing high volumn of documents with attachments in multipart mode.

    #649

commit bbd3b72
Merge: 0586286 94f5107
Author: Jens Alfke <jens@couchbase.com>
Date:   Wed Apr 8 20:27:27 2015 -0700

    Merge pull request #650 from couchbase/feature/issue_649_attachment_crash

    Handle unable to create a blob store writer for the attachment

    For #649 (should prevent the crash, at least)

commit 0586286
Merge: fcbed11 a61bd33
Author: Pasin Suriyentrakorn <phasin@gmail.com>
Date:   Wed Apr 8 17:45:51 2015 -0700

    Merge pull request #651 from couchbase/feature/issue_356_all_docs

    Add all_docs with keys body test case

commit a61bd33
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Wed Apr 8 17:43:49 2015 -0700

    Add all_docs with keys body test case

    Add POST all_docs with keys in the body to confirm that the issue doesn't exist.

    #356

commit 94f5107
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Wed Apr 8 16:52:01 2015 -0700

    Handle unable to create a blob store writer for the attachment

    - Return AttachmentError when cannot  create a blob store writer for the attachment.

    - Add warning messages to pin point where the issue is.

commit fcbed11
Author: Jens Alfke <jens@couchbase.com>
Date:   Wed Apr 8 09:24:54 2015 -0700

    Added test for CBLModel properties of type "id"

    For #648

commit d4fe3c5
Author: Jens Alfke <jens@couchbase.com>
Date:   Wed Apr 8 09:09:07 2015 -0700

    Fixed regression with CBLModel properties of type "id"

    Fixes #648

commit 69c83b1
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Tue Apr 7 17:14:31 2015 -0700

    Add CBLIS support for many-to-many relationship

    - Store embeded array of doc ids in the documents for many-to-many relationship.
    - Bug fix: add relationship name as part of to-many inverse key view name.
    - Small code clean up.

    #638

commit b4850d3
Merge: 38dd697 ae6022a
Author: Jens Alfke <jens@couchbase.com>
Date:   Sun Apr 5 11:02:59 2015 -0700

    Merge pull request #645 from couchbase/feature/issue_637_cblis_ordered_relationship

    Add ordered relationship warning message to CBLIS

commit ae6022a
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Fri Apr 3 14:03:31 2015 -0700

    Add ordered relationship warning message to CBLIS

    With the current approach of using inverse relationship view for storing to-many relationship, we are not supporting ordered many relationship. This commit prints warning messages when detecting that the core data model uses ordered many relationship.

    #637

commit 38dd697
Merge: 3f8655c 5438f47
Author: Jens Alfke <jens@couchbase.com>
Date:   Fri Apr 3 08:33:20 2015 -0700

    Merge pull request #642 from couchbase/feature/issue_639_replicator_stop

    Fix stop idle replicator not getting change notification

commit 5438f47
Author: Pasin Suriyentrakorn <pasin@couchbase.com>
Date:   Mon Mar 30 18:23:11 2015 -0700

    Fix stop idle replicator not getting change notification

    - In CBL_Replicator's stop method, post progress changed notification after calling stopped.

    - Refactor CBLReplication's stop method to just calling stop method on the background replicator.

    - The rest of the logic including forgetting the replicator and setting _started variable will be done in the updateStatus:error:processed:ofTotal: serverCert: method after getting the progress changed notitification after the replication get stopped.

    #639
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant