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

Support SpiderMonkey 1.8.5 #8

Closed
wants to merge 931 commits into from
Closed

Conversation

davisp
Copy link
Member

@davisp davisp commented Sep 22, 2011

Tested on Debian 5.0.0 and Ubuntu 10.10

Robert Newson and others added 30 commits January 7, 2011 16:46
Adam discovered that explicitly calling file:close/1 on the file descriptor does
not cause the node to become unresponsive and drop out of the ring.
Applied 2 more ibrowse fixes already submitted upstream

cmullaparthi/ibrowse#24
cmullaparthi/ibrowse#25



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1056397 13f79535-47bb-0310-9956-ffa450edef68
Applied 2 more ibrowse fixes already submitted upstream

cmullaparthi/ibrowse#24
cmullaparthi/ibrowse#25



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1056400 13f79535-47bb-0310-9956-ffa450edef68
Deleting a large file in the previous scheme has caused the Erlang VM
to become unresponsive (including making it drop out of the ring of
nodes).

The cause of this is currently unknown but Adam discovered that
explicitly calling file:close/1 on the file descriptor does not cause
this behavior.

Accordingly, I have typed in his suggested fix and tested it.
Add missing case for COUCHDB-966

When not able to read one of the .ini configuration files due to file permissions,
map {error, eacces} into {file_permission_error, Filepath} and throw that as an exception.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1056695 13f79535-47bb-0310-9956-ffa450edef68
Fix raw view document link.

Closes COUCHDB-998

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057422 13f79535-47bb-0310-9956-ffa450edef68
Fix raw view document link.

Closes COUCHDB-998

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1057425 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1057433 13f79535-47bb-0310-9956-ffa450edef68
Make the doc multipart GET APIs always send attachments compressed

For attachments that are stored in compressed (gzip) form, make sure the
document multipart/related and multipart/mixed APIs don't decompress the
attachments before sending them through the socket. This is to avoid multipart
parser issues when the attachment's identity length is unknown or lost due to
a local to local replication triggered by CouchDB versions up to 1.0.1

Closes COUCHDB-1022.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1057878 13f79535-47bb-0310-9956-ffa450edef68
Make the doc multipart GET APIs always send attachments compressed

For attachments that are stored in compressed (gzip) form, make sure the
document multipart/related and multipart/mixed APIs don't decompress the
attachments before sending them through the socket. This is to avoid multipart
parser issues when the attachment's identity length is unknown or lost due to
a local to local replication triggered by CouchDB versions up to 1.0.1

Closes COUCHDB-1022.



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1057879 13f79535-47bb-0310-9956-ffa450edef68
While Filipe has identified the fix for COUCHDB-1021, this patch will
ensure that no other bug will cause negative values to be passed to
this function, in turn leading to database inflation problems, etc.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1058058 13f79535-47bb-0310-9956-ffa450edef68
While Filipe has identified the fix for COUCHDB-1021, this patch will
ensure that no other bug will cause negative values to be passed to
this function, in turn leading to database inflation problems, etc.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1058059 13f79535-47bb-0310-9956-ffa450edef68
A couch_file process occasionally checks to see if it is being
monitored by any clients, and closes if not.  Specifically, it checks
for at least two monitoring processes, because it assumes
couch_stats_collector is one of them.  That assumption was wrong
for sys_db files, so they would shut down after a minute and need to
be reopened.

BugzID: 11641
Removed unnecessary iolist_to_binary/1 calls

These IOlist to binary conversions are not necessary since ibrowse accepts
IOlists as outputs of streaming functions. Also, having the IOlists getting
converted into binaries by the erts (instead of user Erlang code) is more



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1059885 13f79535-47bb-0310-9956-ffa450edef68
Avoid unnecessary conversion to binary

Mochiweb accepts IO lists.


git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1059889 13f79535-47bb-0310-9956-ffa450edef68
Two cleanups in couch_db_updater
    
It also seems to add a little performance gain:
    
http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0
    
Closes COUCHDB-1000



git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1059892 13f79535-47bb-0310-9956-ffa450edef68
More efficient implementation of the DB updater BTree functions

Closes COUCHDB-1027


git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1059894 13f79535-47bb-0310-9956-ffa450edef68
This is a workaround for a bug in couch_key_tree, described in
COUCHDB-902, which would cause uploads to fail with spurious conflicts.
A patch for the key tree itself will be landing on trunk.

Thanks Bob Dionne, Klaus Trainer.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1060149 13f79535-47bb-0310-9956-ffa450edef68
This is a workaround for a bug in couch_key_tree, described in
COUCHDB-902, which would cause uploads to fail with spurious conflicts.
A patch for the key tree itself will be landing on trunk.

Thanks Bob Dionne, Klaus Trainer.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1060150 13f79535-47bb-0310-9956-ffa450edef68
Robert Newson and others added 20 commits July 13, 2011 16:02
1) couch_file:sync could leave open fd's if close failed. Now we'll get a trace.
2) couch_file:append_term failing would be bad, so let's test that too.

backported from trunk r1150915

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1150918 13f79535-47bb-0310-9956-ffa450edef68
This works fine with coouch_log but
doesn't with twig, likely some interaction with
how etap works internally.
This is tested against the 1.7.0, 1.8.0rc1, and 1.8.5 tarballs from
Mozilla's FTP directory. It's mostly the same code from trunk minus a
few tweaks to get it past a couple type errors using c++ instead of cc.
@davisp
Copy link
Member Author

davisp commented Sep 22, 2011

Screwed the pooch. Forgot to change the commits cause of the couchdb history.

@davisp davisp closed this Sep 22, 2011
asfgit pushed a commit that referenced this pull request Mar 13, 2014
- use OTP layout
- rebar compatible
- align with fdmanana's original
- from https://github.com/fdmanana/snappy-erlang-nif/
- with upstream patches from PR #8
- add R16/R17 support
cararemixed pushed a commit to cararemixed/couchdb that referenced this pull request Dec 9, 2014
cararemixed pushed a commit to cararemixed/couchdb that referenced this pull request Dec 9, 2014
This closes apache#8

Signed-off-by: Alexander Shorin <kxepal@apache.org>
kocolosk pushed a commit to kocolosk/couchdb that referenced this pull request May 20, 2019
asfgit pushed a commit that referenced this pull request Nov 22, 2019
Detect dreyfus/hastings correctly
rnewson added a commit that referenced this pull request Jul 21, 2020
Accidentally introduced duplicates with custom collation
jaydoane pushed a commit that referenced this pull request Dec 25, 2020
…nd-raise-default

33697 make timeout configurable and raise default
nickva pushed a commit to nickva/couchdb that referenced this pull request Sep 7, 2022
This closes apache#8

Signed-off-by: Alexander Shorin <kxepal@apache.org>
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.

7 participants