History log of /Couchbase_Java_Client_v2.5/src/ (Results 1 - 25 of 733)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 2.7.12, 2.7.11, 2.7.10, 2.7.9, 2.7.8, 2.7.7, 2.7.6, 2.7.5, 2.7.4, 2.7.3, 2.7.2, 2.7.1, 2.7.0, 2.6.2, 2.6.1, 2.6.0, 2.5.9
910401db06-Jun-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

Fix missing import on backport for JCBC-1207

Change-Id: Ia72ee684f687b486659de9c0103642ba7768f529
Reviewed-on: http://review.couchbase.org/95271
Reviewed-by: Subhashni Balakrishnan <

Fix missing import on backport for JCBC-1207

Change-Id: Ia72ee684f687b486659de9c0103642ba7768f529
Reviewed-on: http://review.couchbase.org/95271
Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Tested-by: Subhashni Balakrishnan <b.subhashni@gmail.com>

show more ...

d7dcec6d05-Jun-2018 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1209: Audit and add explicit subscribers on req creation

Motivation
----------
In an earlier changeset the explicit subscriber management on
the request has been added, but

JCBC-1209: Audit and add explicit subscribers on req creation

Motivation
----------
In an earlier changeset the explicit subscriber management on
the request has been added, but some of the APIs have been
overlooked - this can lead to inconsistent behavior
in core-io.

Modifications
-------------
This changeset audits all calls to core.send(...) and where
needed adds the explicit subscriber management on the request
since core-io checks if a subscriber is attached and if not
it never treats it as non-active. Especially n1ql requests
in this regard have been treaded differently before this
changeset compared to kv requests.

Result
------
Complete audit of .send() APIs and every request now properly
handles it subscriber and can be checked against timeouts in
core-io.

Change-Id: I71f752384af7ac4fa88534531401901f92a1fb24
Reviewed-on: http://review.couchbase.org/95227
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

4fa5c71501-Jun-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

JCBC-1207: Dont do reverse address lookup for DNS SRV bootstrap

Motivation
----------
Changes for JVMCBC-513 made sure the addresses can be resolved to fix
unhandled NPE. This ch

JCBC-1207: Dont do reverse address lookup for DNS SRV bootstrap

Motivation
----------
Changes for JVMCBC-513 made sure the addresses can be resolved to fix
unhandled NPE. This check is not necessary for DNS SRV bootstrap.

Changes
-------
Use the unresolved hosts from ConnectionString in core. Changed the bad
ips to x.y.z on the tests as they resolve now.

Change-Id: I0821c247923144c103416d0a43d8ddf6ec2c9b73
Reviewed-on: http://review.couchbase.org/95228
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

ca15876024-May-2018 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1158: Support annotations in parent classes

Motivation
----------
On our experimental repository API, it was reported that if the
ID (or any other field for that matter) was

JCBC-1158: Support annotations in parent classes

Motivation
----------
On our experimental repository API, it was reported that if the
ID (or any other field for that matter) was stored on a parent
class it is not picked up properly by our mapper.

Modifications
-------------
This changeset makes sure that all the fields looked at are
recursively picked up from parent classes as well so that
if a child class is passed in all the proper fields from
parent classes can be used.

Test case has been added to verify this.

Result
------
Support for fields with annotations in parent classes.

Change-Id: I219e1733476d2958699ddec8b4b52eacc6b7f19b
Reviewed-on: http://review.couchbase.org/94676
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>
Reviewed-on: http://review.couchbase.org/95134

show more ...

Revision tags: 2.5.8
b4932a8a23-Apr-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

JCBC-1194 Enable service on nodes in the bootstrap list in round robin

Change to select new node from bootstrap list in round robin way for
retries to enable services on nodes.

JCBC-1194 Enable service on nodes in the bootstrap list in round robin

Change to select new node from bootstrap list in round robin way for
retries to enable services on nodes.

Change-Id: I4ea9a61313f8e39eb7167702624458068ba552c6
Reviewed-on: http://review.couchbase.org/93137
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Reviewed-on: http://review.couchbase.org/93505
Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>

show more ...

Revision tags: 2.6.0-beta, 2.5.7
9ed9ff5803-Apr-2018 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1179: Mark N1qlParams as uncommitted.

Since new API shouldn't be marked as insta-stable,
the new n1ql profiling API is marked as uncomitted
for release25 and will be promoted to

JCBC-1179: Mark N1qlParams as uncommitted.

Since new API shouldn't be marked as insta-stable,
the new n1ql profiling API is marked as uncomitted
for release25 and will be promoted to stable later.

Change-Id: I3762b2081be658879867e86776367723cf341ca2
Reviewed-on: http://review.couchbase.org/92028
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

037f725030-Mar-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

JCBC-1179 Add profile option to N1qlParams

Change-Id: Icbd317c44153b85ab213a42160c1152e4fe89bc9
Reviewed-on: http://review.couchbase.org/91928
Reviewed-by: Subhashni Balakrishnan <b.

JCBC-1179 Add profile option to N1qlParams

Change-Id: Icbd317c44153b85ab213a42160c1152e4fe89bc9
Reviewed-on: http://review.couchbase.org/91928
Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Tested-by: Subhashni Balakrishnan <b.subhashni@gmail.com>

show more ...

c697818909-Mar-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

JCBC-1175 Fix incorrect mapping of queue subdoc remove

Motivation
----------
Simulataneuously queue mutation could cause incorrect behavior of queue
pop

Changes
----

JCBC-1175 Fix incorrect mapping of queue subdoc remove

Motivation
----------
Simulataneuously queue mutation could cause incorrect behavior of queue
pop

Changes
-------
If the recursion returns null, there was a cas mismatch so dont map the
result as success, instead return cas mismatch exception.

Results
-------
Multithreaded queue pop test verifies the change.

Change-Id: I9a9a831c5b5e299e41f59f0b25ad4d45c28165c2
Reviewed-on: http://review.couchbase.org/91925
Reviewed-by: Matt Ingenthron <ingenthr@gmail.com>
Tested-by: Subhashni Balakrishnan <b.subhashni@gmail.com>

show more ...

3f88b9d807-Mar-2018 Subhashni Balakrishnan <b.subhashni@gmail.com>

Integration test for JVMCBC-513

Change-Id: I74d78f75580e23f8344ce26d8883a52fda939bd8
Reviewed-on: http://review.couchbase.org/91924
Tested-by: Subhashni Balakrishnan <b.subhashni@gma

Integration test for JVMCBC-513

Change-Id: I74d78f75580e23f8344ce26d8883a52fda939bd8
Reviewed-on: http://review.couchbase.org/91924
Tested-by: Subhashni Balakrishnan <b.subhashni@gmail.com>
Reviewed-by: Subhashni Balakrishnan <b.subhashni@gmail.com>

show more ...

Revision tags: 2.5.6, 2.6.0-dp1
762c2dc412-Feb-2018 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1166: Make CouchbaseEnvironment.Builder generic

Motivation
----------
Following up on the changes in JVMCBC-495 this changeset makes
the builder generic and as a result can

JCBC-1166: Make CouchbaseEnvironment.Builder generic

Motivation
----------
Following up on the changes in JVMCBC-495 this changeset makes
the builder generic and as a result can delete a bunch of now
redundant overrides.

Change-Id: Iebecde49e25388d502f3828d57ba24687c7cbc89
Reviewed-on: http://review.couchbase.org/89235
Reviewed-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...

Revision tags: 2.5.5
42c7f05b22-Jan-2018 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1163: Log value on n1ql row decode failure.

Motivation
----------
If, for whatever reason, a n1ql row fails to decode
with jackson we should log the original value as part

JCBC-1163: Log value on n1ql row decode failure.

Motivation
----------
If, for whatever reason, a n1ql row fails to decode
with jackson we should log the original value as part
of the exception message so after the fact it is possible
to figure out what went wrong.

Modifications
-------------
The exception message has been adapted to include the original
value as a utf8 string and a test has been added to make sure
this is actually the case.

Result
------
The exception now has the original value as part of its message.

Change-Id: I995afeac88456050f5b48c8c94a478b6c7a6eed7
Reviewed-on: http://review.couchbase.org/88180
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

Revision tags: 2.5.4
f13fc22720-Dec-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1147: Add health check ping command support.

Motivation
----------
In addition to the refactored diagnostics command,
the RFC calls for a bucket-level "service ping"
fac

JCBC-1147: Add health check ping command support.

Motivation
----------
In addition to the refactored diagnostics command,
the RFC calls for a bucket-level "service ping"
facility which has similar output to the diagnostics
but proactively calls the services on their endpoints.

Modifications
-------------
This changeset simply exposes the methods with their overloads
on the Bucket and AsyncBucket and forwards it to the HealthPinger.

Result
------
ping support on the bucket!

Change-Id: I5d1dab046626977184e390c0d11d9770744c9e27
Reviewed-on: http://review.couchbase.org/87094
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

86029f1e18-Dec-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1147: Sync support for health check API up to rfc

Motivation
----------
Compared to the experimental version shipped with 2.5.0,
there have been major changes into refactori

JCBC-1147: Sync support for health check API up to rfc

Motivation
----------
Compared to the experimental version shipped with 2.5.0,
there have been major changes into refactoring and unifying
the health check API towards the RFC.

Modifications
-------------
This changeset brings the diagnostics API in-line with
what is described in the RFC, mainly:

- refactors naming and API towards diagnostics
(away from health check)

Result
------
The diagnostics command works as specified in the RFC,
higher level API needs to be modified to reflect that
as well.

Change-Id: I55e88b4aed63e2251604cf5cac94720a24eb14f5
Reviewed-on: http://review.couchbase.org/86967
Reviewed-by: David Nault <david.nault@couchbase.com>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

e253f4b605-Dec-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1148: Perform log redaction.

Motivation
----------
As part of the larger effort to optionally allow and perform
log redaction, this changeset applies context aware
redac

JCBC-1148: Perform log redaction.

Motivation
----------
As part of the larger effort to optionally allow and perform
log redaction, this changeset applies context aware
redaction for info, warn and error log messages.

Modifications
-------------
This changeset modifies all .info(), .warn() and .error()
log lines to include meta, user and system information.

Result
------
Redacted user, meta and system information based on the
setting provided.

Change-Id: I5ac7a04ba790f079594c2f95cbe4b7ece172bf31
Reviewed-on: http://review.couchbase.org/86392
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

0971d4e805-Dec-2017 David Nault <david.nault@couchbase.com>

Fix deprecation warnings, add deprecation Javadoc

Motivation
----------
Many of the methods in AsyncMutationInBuilder are deprecated,
but there's no guidance on which methods to

Fix deprecation warnings, add deprecation Javadoc

Motivation
----------
Many of the methods in AsyncMutationInBuilder are deprecated,
but there's no guidance on which methods to use instead.

Modifications
-------------
* Add "@deprecated" Javadoc tags that link to the preferred versions.
* Re-write the deprecated functions to call the preferred versions.
* Modify CouchbaseAsyncBucket to call the preferred versions.

Result
------
Fewer deprecation warnings in CouchbaseAsyncBucket.
Less confusion for users of AsyncMutationInBuilder.

Change-Id: I73f3b0e93adef4d9dce90a627795ef438bdac54f
Reviewed-on: http://review.couchbase.org/86403
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Matt Ingenthron <ingenthr@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...

Revision tags: 2.5.3
ff3a0db405-Dec-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

Prepare 2.5.3 Release

Change-Id: Iadd09bae09b85c607e186ea928bfc4dac44f244f
Reviewed-on: http://review.couchbase.org/86364
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>

Prepare 2.5.3 Release

Change-Id: Iadd09bae09b85c607e186ea928bfc4dac44f244f
Reviewed-on: http://review.couchbase.org/86364
Reviewed-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Michael Nitschinger <michael@nitschinger.at>

show more ...

6013f24201-Dec-2017 David Nault <david.nault@couchbase.com>

Add English translation for Hudeln lyrics

Motivation
----------
Not everybody can German. Google translate does not help in this case.

Modifications
-------------
Mi

Add English translation for Hudeln lyrics

Motivation
----------
Not everybody can German. Google translate does not help in this case.

Modifications
-------------
Michael Englished the German for me. Thank you, Michael!

Result
------
Now people who only English can understand perfectly
how OnSubscribeDeferAndWatch works.

Change-Id: Ie824bdb9aeb84d3b325b451fa31e82a750fc54c0
Reviewed-on: http://review.couchbase.org/86268
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...

Revision tags: 2.5.2, 2.4.8
3a0cd55d13-Oct-2017 David Nault <david.nault@couchbase.com>

Add integration test for custom transcoders.

Change-Id: I3705748829bf0e09b489f3fc1d7165bbd65d5172
Reviewed-on: http://review.couchbase.org/83488
Tested-by: Build Bot <build@couchbase

Add integration test for custom transcoders.

Change-Id: I3705748829bf0e09b489f3fc1d7165bbd65d5172
Reviewed-on: http://review.couchbase.org/83488
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...

89842cb921-Nov-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1152: Handle LOCKED with GetAndLock

Motivation
----------
Couchbase Server 5.1+ (and maybe a bugfix release post 5.0) will
also properly send LOCKED on GetAndLock which the

JCBC-1152: Handle LOCKED with GetAndLock

Motivation
----------
Couchbase Server 5.1+ (and maybe a bugfix release post 5.0) will
also properly send LOCKED on GetAndLock which the SDK needs to
handle appropriately.

Change-Id: I4c9b1b45d7111d1ddf4b7dfbea70d5ef501653f0
Reviewed-on: http://review.couchbase.org/85841
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

d18e125030-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1141: Mark ByteArrayDocument/Transcoder as Uncommitted.

Marking this document/transcoder as uncommitted for now and plan
is to mark it as committed in the next minor version (2.6.0)

JCBC-1141: Mark ByteArrayDocument/Transcoder as Uncommitted.

Marking this document/transcoder as uncommitted for now and plan
is to mark it as committed in the next minor version (2.6.0).

Change-Id: Ie108b32ac82c01659ee54c0ea33ab89711b9393d
Reviewed-on: http://review.couchbase.org/84887
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

3a2c881f29-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1144: RetryBuilder - last error should not be caught.

Motivation
----------
The RetryBuilder (and subsequently the RetryWhenFunction)
fails to propagate the source exception

JCBC-1144: RetryBuilder - last error should not be caught.

Motivation
----------
The RetryBuilder (and subsequently the RetryWhenFunction)
fails to propagate the source exception when its exactly
the last retry attempt.

Modifications
-------------
This changeset fixes this edge case by first checking if
the given exception is part of the list to accept and if
not it propagates it right away before first checking
if the number of attempts is over.

Result
------
If a different exception is raised at the last retry
attempt, it is now propagated directly and not turned
into a composite CannotRetryException.

Change-Id: I4956c6a5fa59e5a8f06088379656d54d3bdf26ab
Reviewed-on: http://review.couchbase.org/84870
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>

show more ...

1f7333ff29-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

Override core-io configPollFloorInterval Builder.

Change-Id: I9e1adfad503f6eadfe166ed573ec563734b120b2
Reviewed-on: http://review.couchbase.org/84874
Tested-by: Michael Nitschinger <

Override core-io configPollFloorInterval Builder.

Change-Id: I9e1adfad503f6eadfe166ed573ec563734b120b2
Reviewed-on: http://review.couchbase.org/84874
Tested-by: Michael Nitschinger <michael@nitschinger.at>
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

8cd181d729-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1143: Remove outdated experimental javadoc for FTS.

It is already marked as committed, the leftover javadoc
is an oversight.

Change-Id: Ic79950c1e1c712a62be7816097ef9bdddf5

JCBC-1143: Remove outdated experimental javadoc for FTS.

It is already marked as committed, the leftover javadoc
is an oversight.

Change-Id: Ic79950c1e1c712a62be7816097ef9bdddf58db6d
Reviewed-on: http://review.couchbase.org/84871
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

9f97504324-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

JCBC-1142: Rename createParents to createPath

Motivation
----------
As part of the XATTR/Subdocument RFC it was decided
to unify the "createParents" attribute to "createPath"

JCBC-1142: Rename createParents to createPath

Motivation
----------
As part of the XATTR/Subdocument RFC it was decided
to unify the "createParents" attribute to "createPath"
which better reflects the user intent.

Modifications
-------------
This changeset applies this change in a fully backwards-
compatible manner. API has been renamed where either internal
or just using boolean flags. In the other places where actually
method changes are needed, the appropriate methods have been
marked as deprecated and the right proper methods implemented
in addition.

Result
------
The Java SDK now properly exposes "createPath" instead of
"createParents", but its still available for backwards
compatibility and will be only removed with the next major
SDK bump.

Change-Id: I966ae0fb940295004bce94d5a02a5458fd2c889b
Reviewed-on: http://review.couchbase.org/84749
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: David Nault <david.nault@couchbase.com>

show more ...

e7acd34813-Oct-2017 Michael Nitschinger <michael.nitschinger@couchbase.com>

Add sslTruststore overrides

Change-Id: Ia8595d3ab880558667ecd40a343e4867de588142
Reviewed-on: http://review.couchbase.org/84365
Tested-by: Michael Nitschinger <michael@nitschinger.at

Add sslTruststore overrides

Change-Id: Ia8595d3ab880558667ecd40a343e4867de588142
Reviewed-on: http://review.couchbase.org/84365
Tested-by: Michael Nitschinger <michael@nitschinger.at>
Reviewed-by: David Nault <david.nault@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>

show more ...

12345678910>>...30