[GitHub] [couchdb] byte-opps opened a new issue #3076: No logs, windows install.

2020-08-13 Thread GitBox
byte-opps opened a new issue #3076: URL: https://github.com/apache/couchdb/issues/3076 Installed latest couchdb ver 3.1.0 to C:\CouchDB as per manual, windows installer on windows10. added lines to conf [log] file = ./couchdb.log service restarted. Also

[GitHub] [couchdb] rnewson opened a new pull request #3075: Don't crash couch_index_server if the db isn't known yet

2020-08-13 Thread GitBox
rnewson opened a new pull request #3075: URL: https://github.com/apache/couchdb/pull/3075 ## Overview If a ddoc is added immediately after database creation (_users and _replicator when couchdb is used in a multi-tenant fashion), we can crash couch_index_server in

[GitHub] [couchdb] SinanGabel commented on issue #3074: require_valid_user blocks OPTIONS request against _session

2020-08-13 Thread GitBox
SinanGabel commented on issue #3074: URL: https://github.com/apache/couchdb/issues/3074#issuecomment-673412582 Couchdb 3.1 cookie authentication works fine on Ubuntu using pouchdb authentication. Couchdb 3.1 cookie authentication also works fine through couchdb nano nodejs apps.

[GitHub] [couchdb] AyanamiSan edited a comment on issue #3074: require_valid_user blocks OPTIONS request against _session

2020-08-13 Thread GitBox
AyanamiSan edited a comment on issue #3074: URL: https://github.com/apache/couchdb/issues/3074#issuecomment-673455225 Seems my curl request was missing 'Origin' header, here are corrected versions (the spaces after parameters are optional, and does not change result) ```

[GitHub] [couchdb] AyanamiSan commented on issue #3074: require_valid_user blocks OPTIONS request against _session

2020-08-13 Thread GitBox
AyanamiSan commented on issue #3074: URL: https://github.com/apache/couchdb/issues/3074#issuecomment-673455225 Seems my curl request was missing 'Origin' header, here are corrected versions (the spaces after parameters are optional, and does not change result) ```

[GitHub] [couchdb] eiri commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673636498 @wohali absolutely! How do I make Jenkins pass, it failed on an unrelated elixir test with what seems to be a race on a user creation?

[GitHub] [couchdb] davisp commented on a change in pull request #3073: Prototype/fdb layer ebtree views

2020-08-13 Thread GitBox
davisp commented on a change in pull request #3073: URL: https://github.com/apache/couchdb/pull/3073#discussion_r470061117 ## File path: src/couch_views/src/couch_views_fdb.erl ## @@ -244,200 +373,223 @@ clear_index(Db, Signature) -> end, Keys), % Clear index data

[GitHub] [couchdb] eiri opened a new pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri opened a new pull request #3077: URL: https://github.com/apache/couchdb/pull/3077 ## Overview Db creation request accepts shard specific parameters `q`, `n` and `placement`, but passes them to `fabric` without validation. This leads to `badarg` crash in case of invalid

[GitHub] [couchdb-documentation] ksnavely commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
ksnavely commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470130225 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb-documentation] ksnavely commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
ksnavely commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470130225 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb] chewbranca commented on pull request #3075: Don't crash couch_index_server if the db isn't known yet

2020-08-13 Thread GitBox
chewbranca commented on pull request #3075: URL: https://github.com/apache/couchdb/pull/3075#issuecomment-673632879 Good catch! This is an automated message from the Apache Git Service. To respond to the message, please log

[GitHub] [couchdb-documentation] ksnavely commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
ksnavely commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470126606 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb-documentation] nickva commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
nickva commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470133664 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb-documentation] nickva commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
nickva commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470148839 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb] wohali closed issue #3076: No logs, windows install.

2020-08-13 Thread GitBox
wohali closed issue #3076: URL: https://github.com/apache/couchdb/issues/3076 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [couchdb] wohali commented on pull request #3075: Don't crash couch_index_server if the db isn't known yet

2020-08-13 Thread GitBox
wohali commented on pull request #3075: URL: https://github.com/apache/couchdb/pull/3075#issuecomment-673635333 Please, please backport this to 3.x. This is an automated message from the Apache Git Service. To respond to the

[GitHub] [couchdb] wohali commented on issue #3076: No logs, windows install.

2020-08-13 Thread GitBox
wohali commented on issue #3076: URL: https://github.com/apache/couchdb/issues/3076#issuecomment-673635666 Add ``` [log] writer = file ``` to the file and restart the service. This is an automated

[GitHub] [couchdb] wohali commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
wohali commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673635451 Backport to 3.x please! This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [couchdb] eiri edited a comment on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri edited a comment on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673636498 @wohali absolutely! How do I make Jenkins pass, it failed on an unrelated elixir test with what seems to be a race on a user creation? **Update** Found "Rebuild"

[GitHub] [couchdb] nickva commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
nickva commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673675749 @eiri from what I understand from reading https://docs.couchdb.org/en/stable/cluster/sharding.html#specifying-database-placement for a bit is we specifically want multiple zone

[GitHub] [couchdb] nickva commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
nickva commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673647109 Should we allow multiple zones in the placement parameter? ``` $ http put $DB1/bad5?placement=zone1:1,zone2:2 HTTP/1.1 400 Bad Request { "error":

[GitHub] [couchdb] wohali commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
wohali commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673714153 @eiri FYI in the Blue Ocean view, you can restart the entire build (circular arrow icon at the top of the page on the right), or even just one stage of the build (just above the

[GitHub] [couchdb] eiri commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673652691 @nickva I never used it in anger myself, tbh and added here it for completion, but sure, I can update to handle multi-zones.

[GitHub] [couchdb] wohali commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
wohali commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673708169 @eiri FYI you shoudl be able to log into that Jenkins instance and restart the run. We do have a few flaky tests, still. :(

[GitHub] [couchdb-documentation] ksnavely commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
ksnavely commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470289084 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb-documentation] ksnavely commented on a change in pull request #581: [RFC] Replicator Implementation for CouchDB 4.x

2020-08-13 Thread GitBox
ksnavely commented on a change in pull request #581: URL: https://github.com/apache/couchdb-documentation/pull/581#discussion_r470289014 ## File path: rfcs/016-fdb-replicator.md ## @@ -0,0 +1,359 @@ +--- +name: Formal RFC +about: Submit a formal Request For Comments for

[GitHub] [couchdb] wohali closed issue #3079: Per-user Database document access control

2020-08-13 Thread GitBox
wohali closed issue #3079: URL: https://github.com/apache/couchdb/issues/3079 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [couchdb] eiri merged pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri merged pull request #3077: URL: https://github.com/apache/couchdb/pull/3077 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [couchdb] eiri opened a new pull request #3078: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri opened a new pull request #3078: URL: https://github.com/apache/couchdb/pull/3078 ## Overview Db creation request accepts shard specific parameters q, n and placement, but passes them to fabric without validation. This leads to badarg crash in case of invalid parameter.

[GitHub] [couchdb] eiri commented on pull request #3077: Validate shard specific query params on db create request

2020-08-13 Thread GitBox
eiri commented on pull request #3077: URL: https://github.com/apache/couchdb/pull/3077#issuecomment-673784758 @wohali this is super weird, I know what you are talking about, because I have both restart buttons in BlueOcean on other Jenkins where I have an account, but missing both buttons

[Jenkins] FAILURE: CouchDB » Full Platform Builds » master #216

2020-08-13 Thread Apache Jenkins Server
Boo, we failed. https://ci-couchdb.apache.org/job/jenkins-cm1/job/FullPlatformMatrix/job/master/216/display/redirect

[GitHub] [couchdb] wa0nder opened a new issue #3079: Per-user Database document access control

2020-08-13 Thread GitBox
wa0nder opened a new issue #3079: URL: https://github.com/apache/couchdb/issues/3079 [NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ ) Determine which documents and document fields are returned by a GET request applying a process virtually identical to