-
Notifications
You must be signed in to change notification settings - Fork 158
/
CHANGELOG
709 lines (618 loc) · 40.1 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
1.4.2
-----
This is a minor bugfix/maint release.
32cf05a Brian Roach Merge branch 'method-support-for-riakkey' into 1.4.2
16c2255 Brian Roach Merge branch 'domain-bucket-tombstones' into 1.4.2
1.4.1
-----
This is only a patch for a protocol buffers library issue. There are no
changes to the client code.
Google released Protocol Buffers 2.5.0 in Feb/2013. Unfortunately there
are breaking changes that make protocol buffers generated by 2.4.1
incompatable. Users using 2.5.0 in their own code therefore run into problems.
We have made the decision to shade 2.4.1 and our protocol buffers, including them
inside the .jar file.
We will be moving to v2.5.0 in the client v2.0
32a8f6c Brian Roach Merge pull request #269 from basho/shade_protobuf
95380ea Dave Rusek Shade and rewrite packaging for com.google.protobuf:protobuf-java and com.basho.riak.protobuf:riak-pb to compensate for the fact that some users may have protobuf 2.5.0 in their classpath and that riak-pb is compiled wi
beb577f Brian Roach [maven-release-plugin] prepare for next development iteration
1.4.0
-----
This is a large feature release
The 1.4.0 client release goes with Riak 1.4. If you are using an older version
of Riak, please use the 1.1.2 client
With Riak 1.4 we've reached feature parity between protocol buffers and HTTP.
The client will now allow any operation over PB where in the past some things required
HTTP.
One new Riak 1.4 feature in particular stands out; we now have counters. These are
accessed/incremented through the new CounterObject which Bucket.counter() returns.
For more details see the Javadoc.
3f2d111 Brian Roach bumped riak-pb in pom to 1.4.0
d46ef2a Brian Roach Merge pull request #261 from xpe/issue-260
5159ae0 Brian Roach Merge pull request #246 from basho/gh238-streaming-list-buckets-1.4
e74f41d Brian Roach Merge branch 'master' into gh238-streaming-list-buckets-1.4
f67a982 Brian Roach [maven-release-plugin] prepare for next development iteration
c1e717d Brian Roach Merge branch 'gh237-operation-timeouts' into gh238-streaming-list-buckets-1.4
4220ea1 Brian Roach Added 1.4 timeout query param
7fcdc73 Brian Roach Merge branch 'gh239-counters-1.4' into gh238-streaming-list-buckets-1.4
0ec1a1f Brian Roach Adds 1.4 counters via HTTP and PB
ae923db David James fix #260
0ce5296 Brian Roach Merge branch 'gh236-2i-enhancements-1.4' into gh238-streaming-list-buckets-1.4
dc2c660 Brian Roach PB and HTTP support new 2i features via streaming
3caddda Brian Roach WIP commit. PB streaming 2i + pagination
ea2c867 Brian Roach Merge branch 'gh251-reset-bucket-properties-1.4' into gh238-streaming-list-buckets-1.4
3e97168 Brian Roach Adds 1.4 reset bucket properties feature
1e5a048 Brian Roach Merge branch 'gh240-pb-bucket-props-1.4' into gh238-streaming-list-buckets-1.4
33e261c Brian Roach All bucket properties now supported in PB
76f1610 Brian Roach Merge branch 'gh241-asis-option-1.4' into gh238-streaming-list-buckets-1.4
bb83272 Brian Roach Added 1.4 feature asis
3967888 Brian Roach Javadoc fixes
3829485 Brian Roach Modified tests to exercise streaming
f560bd9 Brian Roach version and javadoc fixes
568d972 Brian Roach 1.4 feature adds streaming list buckets
1.1.2
-----
This is a bugfix/maintenance release
7706316 Brian Roach Merge pull request #259 from guidomedina/gm-objectmapper-read-rawvalue
4d6dcb4 gmedina Object mapper reads directly from bytes
872d162 Brian Roach Merge pull request #253 from guidomedina/gmedina-update-jackson
14c8c51 Brian Roach Merge pull request #252 from guidomedina/gmedina-update-httpclient
8634f82 Brian Roach Merge pull request #254 from guidomedina/gmedina-optimize-jsonconverter-objectmapper
71f8c72 Brian Roach Merge pull request #230 from basho/pb-connection-pool-permit-fix
bbc6b0c Brian Roach Merge pull request #248 from basho/gh245-pojo-with-null-key
5a3dcad gmedina Object mapper return method should be static.
64ef88a gmedina Object mapper at JsonConverter is now a singleton instance.
53dbd0a gmedina Updates Jackson libraries to 2.2.2
c186894 gmedina Updates HTTP client to 4.2.5.
84b8d7e Brian Roach removed unused import
9e61524 Brian Roach Merge pull request #243 from basho/gh242-index-null-pointer
2f59b6f Brian Roach Fixed storing POJO with null key
a2434f6 Brian Roach Merge pull request #247 from basho/gh244-add-link-args
32c8a88 Brian Roach RiakLink checks arguments
046142f Brian Roach Merge pull request #228 from kkalin78/master
95a81a3 Brian Roach Added argument checks for indexes
e56e071 Charlie Voiselle Update README.org
96c97c4 Brett Hazen Merge pull request #227 from basho/bch-pb-link-walking
1cb822a Brett Hazen Issue #227: Fixed default setting in single depth link walking in com.basho.riak.client.raw.pbc.PBClientAdapter.linkWalkSecondPhase
812a6aa Brian Roach [maven-release-plugin] prepare for next development iteration
34c0295 Brian Roach Moved warmUp finished semaphore changes
7475c21 Brian Roach removed the connection acquire retry
2f24cc4 Konstantin Kalin Add expected and actuall code into bad message code expection in recieve_code method of pbc.RiakConnection
460b631 Brett Hazen Issue #218: Handle Link Walking case with a depth of one (and with no outgoing links)
4262c6e Brian Roach PB client connection pool optimization
1.1.1
-----
This is a bugfix and feature release
Especially worth noting is a new MultiFetchObject available via the Bucket interface
341869f Brian Roach Merge pull request #225 from basho/add_multi_get
c490a3b Brian Sparrow Merge pull request #234 from basho/gh233-add-without-fetch-to-domainbucket
42b0da3 Brian Roach Allows withoutFetch() in DomainBucket
48fe34a Brian Roach bumped jackson-datatype-joda to v2.1.2
72a38b4 Brian Roach Merge pull request #229 from sargun/master
341869f Brian Roach Merge pull request #225 from basho/add_multi_get
828476a Brian Roach Fixed typos, copyright, added usage example
ad55972 Sargun Dhillon Registering Joda time support with JSONConvertertor's object mapper, as it was removed earlier
84d9728 Brian Roach Fixed getMaximumPoolSize() removed ifModified()
6525b88 Brian Roach Adds new multi-fetch functionality
5cfdae0 Brian Roach Update README.org
66fcd65 Brian Roach Merge pull request #217 from basho/gh216-mapreduce-logicalfiltergroup
7cf623a Brian Roach MapReduce failure using LogicalFilterGroup
6a47223 Brian Roach Merge pull request #215 from ieure/master
0401e52 Ian Eure Update README.org
28f7d04 Brian Roach Merge pull request #214 from basho/clusterclient-ping
de58901 Brian Roach Sane ping() for ClusterClient
b9ab655 Brian Roach [maven-release-plugin] prepare for next development iteration
1.1.0
-----
This is a bugfix and feature release
Especially worth noting is that 2i is now supported natively via protocol buffers
and the int_index is no longer limited to 2^31:
21c8f2f Brian Roach Change 2i to use long values
ab25101 Brian Roach Changed PB client to use native 2i
Tombstones are now properly handled/supported:
416a901 Brian Roach Fixing tombstone support
CPU utilization bug in the protocol buffers connection pool is fixed:
7ae4f8d Brian Roach Merge pull request #212 from basho/gh211-idle-reaper-bug
You can now perform conditional mutations avoiding a store operation if not needed:
c751322 Brian Roach Merge pull request #202 from basho/gh200-conditional-store-mutation
Complete list of commits:
7ae4f8d Brian Roach Merge pull request #212 from basho/gh211-idle-reaper-bug
5341dc3 Brian Roach Added small optimization
50ed46d Brian Roach Fixes problem with idle connection reaping
9c46c4d Brian Roach Merge pull request #209 from basho/gh208-deprecated-stats
dc16ae2 Brian Roach Merge pull request #195 from basho/gh157-expose-deleted
d96f781 Brian Roach Fixed javadoc
d28cd4c Brian Roach Merge pull request #194 from basho/gh153-expose-head
8d573d3 Brian Roach Small change to javadoc
918b48f Brian Roach Merge branch 'gh153-expose-head' of github.com:basho/riak-java-client into gh153-expose-head
c0622e4 Brian Roach Made UndefinedStatDeserializer global
19002bb Brian Roach Added to all tests, fixed small bug in test
5777dd5 Brian Roach Added tests for tombstone handling
d0dda77 Brian Roach Removed last usage of FetchObject.hasDeletedVclock
b005f84 Brian Roach Merge branch 'master' into gh157-expose-deleted
416a901 Brian Roach Fixing tombstone support
1cc8387 Brian Roach Merge pull request #193 from basho/gh192-pb-fetches-twice
8461f7c Brian Roach Merge pull request #196 from basho/gh170-jackson-upgrade
e8a50f7 Brian Roach Merge pull request #205 from guidomedina/fix-riakindex-at-setoflongs
932433d guido.medina Add tests for @RiakIndex at methods of return type Set<Long>
952fc4c guido.medina @RiakIndex fails if method return type is Set<Long>
3cd6b51 Brian Roach Merge pull request #201 from basho/httpclientconfig-typo
70f11d8 Chris Molozian Replaced spaces with tabs in changeset for previous commit.
f75a514 Brian Roach Merge pull request #203 from basho/gh199-riakindex-annotated-methods
e6c8a42 Brian Roach POJO methods can now be annotated with @RiakIndex
c751322 Brian Roach Merge pull request #202 from basho/gh200-conditional-store-mutation
340d4d5 Brian Roach Really fixed Javadoc. Honest.
5925997 Brian Roach Fixed javadoc
b2da148 Brian Roach Adds ConditionalStoreMutation
b60f04d Chris Molozian Fixed a typo in HTTPClientConfig Builder API. For API compatibility reasons, the old method remains but has been deprecated.
7dee6c9 Brian Roach Merge pull request #197 from basho/gh160-avoid-string-intern
8434942 Brian Roach Removes global locking on interned String
6c4b896 Brian Roach Removed test for removed behavior
dbdf16a Brian Roach Removed second fetch entirely
4a33c9e Brian Roach Wrong end of line chars
d27956a Brian Roach This updates the client to use Jackson 2.x
f772d56 Brian Roach Preserve and expose x-riak-deleted / PB deleted
972e5ff Brian Roach Expose FetchMeta.headOnly() in FetchObject
db25216 Brian Roach Added missing conditional
5fb82fe Brian Roach Merge pull request #191 from basho/gh188-pb-native-2i
82b10ee Brian Roach formatting
ab25101 Brian Roach Changed PB client to use native 2i
6a7c770 Brian Roach Fixed typo in README
b1c9bec Brian Roach Merge pull request #189 from basho/gh112-index-is-int
3e46905 Brian Roach Fixed comments / @Depricated tag
64d1c01 Brian Roach Modify method names to preserve backward compat
21c8f2f Brian Roach Change 2i to use long values
6c9f3ee Brian Roach [maven-release-plugin] prepare for next development iteration
1.0.7
-------------
This is a bugfix and feature release
Worth special mention:
056dea5 - You can now perform a store operation with a null key and have Riak generate the key
875cee3 Brian Roach Merge branch 'master' of github.com:basho/riak-java-client
ca9c508 Brian Roach bumped riak-pb and Jackson versions
0c3c5db Brian Roach Merge pull request #184 from basho/pb-pool-lifo
2211096 Brian Roach Merge pull request #165 from basho/gh164-multiple-links-to-same-obj
539b249 Brian Roach Merge pull request #187 from basho/gh181-LogicalOrFilter-bug
056dea5 Brian Roach Merge pull request #168 from basho/gh141-store-with-null-key
7084e30 Brian Roach Added iTest for null key
28dc9de Brian Roach Fixed M/R logical keyfilters
ec3602d Brian Roach Merge pull request #161 from michaelklishin/expose-riak-config-for-http-client-adapter
8806925 Brian Roach Merge pull request #176 from jplock/httpclient4.2.1
a007c20 Brian Roach formatting changes
169ed10 Brian Roach Merge pull request #180 from mshinn/master
f886b94 Brian Roach Merge pull request #186 from basho/gh185-pb-list-keys
76d2686 Brian Roach formatting fixed
d3415f4 Brian Roach Close connection when list keys not exhausted
ec71a9f Brian Roach Merge pull request #183 from agemooij/patch-1
05361c9 Brian Roach Merge pull request #173 from mattbishop/master
b34c917 Brian Roach Changed connection pool from FIFO to LIFO
a11b1e1 Age Mooij Updated the README with a link to the Javadocs
d3183c1 Matthew Shinn Add support for scanning annotations on super classes
737be1c Matthew Shinn Fix typo in class javadoc
7882948 Justin Plock Upgraded from httpclient 4.2.1 to 4.2.2
996b799 Justin Plock Upgraded httpclient from 4.1.1 to 4.2.1
783651a mbishop Fix for Issue 172.
bb597a4 mbishop Add ignores for Intellij.
0da6104 Brian Roach UTF-8 encoding for maven
00f3aed Brian Roach Merge pull request #134 from shikhar/patch-1
9c3b4f6 Brian Roach Merge pull request #169 from basho/gh167-http-adds-r2
62b1ad7 Brian Roach Removed r=2 default for fetch requests
d290303 Brian Roach Allow store operation with null key
78b6cac Brian Roach Client will now support multiple links to the same object over HTTP
33262ba Brian Roach [maven-release-plugin] prepare for next development iteration
399acc9 Michael S. Klishin Make raw HTTP client expose riak config
be1948f Shikhar Bhushan times argument is immutable
1.0.6
-------------
This is a bugfix and feature relese
Worth special mention:
af12b6c - The default JSONConverter now supports multiple values via a @RiakIndex annotated Set<> (Integer or String). Note this also brings serialization/deserialization in line with our other annotaded fields in that these values will not be present in the resulting JSON. To override this behavior the Jackson @JsonProperty annotation can be supplied
9bd8e60 - You can now perform a store operation without the implicit fetch performed by the StoreObject.execute() method using the new StoreObject.withoutFetch() method. Also added a new @RiakVClock annotation to support this using your own POJOs.
e1db43d Brian Roach Merge pull request #156 from michaelklishin/patch-1
091adc9 Brian Roach Merge pull request #162 from geardley/master
b8a4e7b Garrett Eardley fixed permit leak on socket connection timeouts
bf415bd Brian Roach Merge pull request #159 from pcl/date-speedup
109f967 Patrick Linskey Speed up date parsing.
6f5fa58 Patrick Linskey fix javadoc
f804a41 Michael Klishin Make .travis.yml future proof
d2478b6 Brian Roach Merge pull request #155 from basho/tr96-use-riak-pb-jar
63c9e00 Brian Roach This refactors the client to use the new jar generated from the riak_pb project. It is pulled from maven central as a dependency
61f164e Brian Roach Merge pull request #140 from basho/gh135-index-annotation-set-support
af7d6fa Brian Roach merge #135 gh135-index-annotation-set-support
d4ecc7b Brian Roach Modfied test class to satisfy test cases now that Domain Object fields annotated with @RiakIndex are no longer automatically included by the JSON conver
a58ac9b Brian Roach Merged with master to pick up annotation processing changes from another PR
f520adc Brian Roach Merge pull request #136 from basho/gh125-wrong-json-utf8-constant
30b7628 Brian Roach Merge pull request #151 from basho/tr95-expose-objectmapper-jsonconverter
9b6dbfd Brian Roach Added getter to expose the Jackson ObjectMapper
7067c62 Brian Roach Merge pull request #148 from basho/gh146-fetch-during-store-optional
c154825 Brian Roach Added test cases for setting/getting vclock from annotated POJO
3e957a2 Brian Roach Changed addIntSet and addBinSet to add all the new values at once rather than calling add(). More efficient due to locking.
9bd8e60 Brian Roach Supporting store operations without implicit fetches new withoutFetch() method added to StoreObject We now provide a @RiakVClock annotation to use with
453d223 Sean Cribbs Enable chat bot hook and integration tests on Travis.
9b676d0 Brian Roach Merge pull request #142 from basho/gh138-add-timeout-to-pb-client
f92ec2a Brian Roach Added read/write timeout to PB client
888353d Brian Roach Merge pull request #133 from basho/t84-keep-jackson-annotated-fields
3edcbbe Brian Roach Merge pull request #129 from basho/add-support-bucket-index
af12b6c Brian Roach Multiple values for the same Riak index now supported when converting to/from a domain object. @RiakIndex annoted fields no longer encoded into JSON usi
384facb Brian Roach I somehow managed to revert this change before commiting and pushing. Derp
55ae28e Brian Roach changed constant CTYPE_JSON_UTF8 to match what webmachine returns as content type
17b433f Brian Roach Merge pull request #131 from basho/gh115-add-cookbook-link-to-readme
defec04 Brian Roach Adjusted the annotation processing to allow a @RiakKey to be included in the JSON serialization if it is also annotated with the Jackson @JsonProperty.
dea9dc7 Brian Roach Added missing space to CTYPE_JSON_UTF8 - it now matches what is returned by riak.
c21527f Brian Roach added link to the cookbook
749b3e1 Brian Roach Merge pull request #130 from basho/t83-annotated-fields-not-excluded-from-JSON
05b383a Brian Roach public fields without getters annotated with Riak annotations are now excluded from JSON serialization
2009724 Brian Roach Merge pull request #127 from basho/t53-map-reduce-without-phase
9d2f9ae Brian Roach Merge pull request #128 from basho/t82-remove-json-org-classes
2b99417 Brian Roach last formatting fix
85fd686 Brian Roach fixed formatting. uncommented check for 2i property
df75c33 Brian Roach added test for new $bucket feature. Also fixed problem where tests for $key and $bucket could fail due to previous keys in bucket not yet having finishe
a4faa4f Brian Roach Removed the json.org code from our project, changing it to a Maven dependency. The one issue is that the org.json jar files available from Maven central
faf2faa Brian Roach Changed the validate() method in MapReduce to be no-op. It is left in place so as not to break inheritence Removed the NoPhasesException as it is no lon
9a451fb Randy Secrist Derp, fixed a compile issue.
45e8569 Randy Secrist Added support for 2i queries that use $bucket.
3985db5 Brian Roach [maven-release-plugin] prepare for next development iteration
1.0.5
-------------
This is a bugfix release.
Two major bugs are corrected:
PBClusterClient will now recover from node failures correctly (48f0a29)
HTTPClientCluster.addHosts() now works correctly (4b81b06)
48f0a29 Brian Roach Merge pull request #121 from basho/GH120-Socket-not-closed-on-failure
4b81b06 Brian Roach Merge pull request #122 from basho/tr63-refactor-HTTPClientConfig-fix-from-bugs
b30c3c5 Brian Roach reformat file converting spaces to tabs
8a9377c Brian Roach Changed to using the URI class internally to solve problems with the Builder.from() method.
56ad877 Brian Roach Reformat file to convert all spaces to tabs. Suggest tabstop=4
22011bd Brian Roach Changed try/catch to not wrap a bad code; preserves existing behavior
0fa9b81 Brian Roach When an IOException happens on a read from a Socket's InputStream or a write to it's OutputStream the Socket object is not automatically set to closed. This fix makes it so we explicit
058638e Brian Roach Merge pull request #114 from basho/t59-HTTPClientConfig-Builder-from-bug
16bca44 Brian Roach Fixed style, with apolgies to Russell
f63347b Brian Roach There was a bug in the HTTPClientConfig.Builder that was causing a problem with creating a HTTPClusterClient If you supplied an existing HTTPClientConfig to the builder it would copy t
fa2f15b Brian Roach [maven-release-plugin] prepare for next development iteration
1.0.4
-------------
This is a patch release that adds new features and fixes a few minor issues.
New features include support of the Riak /stats command through the IRiakClient
interface (when using HTTP - stats via PB is not supported by Riak), a shutdown()
method in the IRiakClient Interface that cleanly shuts down running threads, and
a new lazyLoadProperties() method for both FetchBucket and WriteBucket that
will eliminate a request to Riak for bucket properties if they're not needed.
**Changes**
cf0ac0e Brian Roach Merge pull request #109 from basho/t46-lazy-bucket-properties
d9f08eb Brian Roach Removed superflous test, added one for fail case Added Test class to AllTests runner Added @since tags to javadoc for new methods in FetchBucket and WriteBucket
437bfa1 Brian Roach Test for LazyBucketProperties
e3d6a4e Brian Roach Changed to using Russell's implementation; overall it's just cleaner and there's an internal state that protects a FutureTask from being run() twice that I wasn't aware of.
93e048c Brian Roach In a fail condition, resetting the AtomicBoolean could create a problem because the CountDownLatch was still at 0. Resetting it to 1 afterward would leave iopen a tiny race condi
24256dd Brian Roach First cut at adding lazy loading of bucket properties.
da98d9a Brian Roach Merge pull request #107 from basho/t44-sybolic-quora-domainbucketbuilder
c3eb030 Brian Roach Added setter methods in the DomainBucketBuilder to accetp symbolic quora. Added test to verify
0da5f82 Brian Roach Merge pull request #104 from basho/BR-add-status
ee66d0f Brian Roach Added new Riak 1.1 stats and also a custom deserializer for some of those that are currently broken and containing the string "undefined" rather than an int value
3449ef7 Brian Roach final style check.
ae754e5 Brian Roach Changes from Russel's comments - Fixed style / formatting - Converted to using Jackson object mapping - eliminated http.response.StatsResponse and its tests as it was no longer n
3cabc61 Russell Brown Merge pull request #106 from basho/rdb_leaking_connections
f1546db Russell Brown Catch more general IOException and close RiakConnection
e29152d Russell Brown Merge pull request #105 from basho/rdb_test_be_output
bfea2b5 Russell Brown Output current test name
d4b1f5d Brian Roach Fixed small bug with NodeStats reviewing my own code.
36f98f2 Brian Roach Added me as a Developer :-D
5625008 Brian Roach Added tests and javadoc
53b8599 Brian Roach final touches. Still need to write tests and a bit more javadoc
d157e22 Brian Roach new files for /stats operation. Decided to change IRiakClient interface to return an Iterable<NodeStats) rather than an interator.
0cff86e Brian Roach initial check in of /stats support. All working, just need to do some testing and think if the interface is sane or not.
083294e Russell Brown Merge branch 'az878_fewer_buckets'
bb9b668 Russell Brown Teardown Link Walk test bucket too
48c1110 Russell Brown Merge remote-tracking branch 'origin/BR-r-greater-then-n-http'
0fadac1 Brian Roach Changed the error check to throw on all 5xx errors, and all 4xx errors except 404 and 412 A number of the operations objects are expecting 404 to come back, and the 412 needs to
54d0675 Russell Brown Make fewer buckets in the itests.
19e8953 Brian Roach Merge pull request #102 from basho/BR-symbolic-quora
ae22370 Brian Roach Delete now works with symbolic quorums I also ended up reverting some eralier changes I made to the classes in com.basho.riak.pbc and pushed the logic up into the ConversionUtil
6aca729 Russell Brown Re-order tests, put timeout tests to end
fe56fdf Brian Roach StoreObject now supports Quorums for w, pw, dw
49ec585 Brian Roach Symbolic quora now work for reads. Existing tests all pass, need to write new tests for checking symbolics
7ae2ce5 Brian Roach Fixed "magic" numbers in Quora, adjusted test to match.
e9affe5 Brian Roach Merge pull request #100 from basho/BR-writebucket-constructor
af139dd Brian Roach Fixed problem where the http client ignored when a 400 Bad Request was returned. Specifically this would cause a fetch with r > n to simply return null as if the k/v simply didn'
e7cd246 Russell Brown Merge pull request #98 from basho/rdb_backwards_compat
7a547a5 Russell Brown Merge pull request #99 from basho/gh92_shutdown_client
1cdee7e Brian Roach The WriteBucket constructor that takes an existing Bucket as a parameter now copies the BucketProperties from that Bucket
a89d334 Russell Brown Fix connection in leak in MapReduceResponseSource
2c4b211 Russell Brown Update bucket properties to be more backwards compatible
7e1b0ff Russell Brown Merge pull request #97 from basho/rdb_b_e_package
7db2616 Russell Brown Stawman commit - make B_E faster / easier for Java
4c7dbb9 Brian Roach Merge pull request #96 from basho/BR-maven-githup-upload
0994584 Brian Roach automated uploads to github of the artifacts
cbe9c6b Brian Roach moved uploading to its own profile due to weirdness with current use of release plugin
feba60c Brian Roach working on automated github uploads during release
01599d3 Brian Roach Merge pull request #82 from basho/hornbeck_artifact
987ec69 Russell Brown Merge pull request #95 from basho/az1091_key_index
8398f90 Russell Brown Add support for $key index
f54c137 pbarry Tidy indentation and add test
089bd3e Sean Cribbs Merge pull request #94 from michaelklishin/master
5a441ef Michael S. Klishin Explain why email notifications on travis-ci.org are disabled and how to learn more
2c40473 Michael S. Klishin Add .travis.yml
24afbbd Brian Roach changed version in README and pom to 1.0.3 and 1.0.4-SNAPSHOT respectively
6639df7 Brian Roach Merge branch '1.0.3'
0450be6 Brian Roach changed to version 1.0.3 (no SNAPSHOT)
8235e08 Brian Roach Added 1.0.3 changelog, and new commiters
f8010a9 Russell Brown Fix whitespace in Niklas' contribution
1fdfbae Niklas Gawell Added store without key functionality to http client
0d26bb1 Brian Roach added instructions for building dependency bundles with maven
b507f22 Brian Roach Reworked bundling into profiles so that when building the library with maven you can choose what to build. By default only the client library .jar is built with no dependencies.
a7f2ac8 pbarry Add shutdown() for graceful pool shutdown
551ef93 pbarry ignore emacs temp files
15cfd28 Brian Roach Fixed deps filename
bb47216 Brian Roach changed the maven build to provide a number of options for us to distribute. Maven will now create:
3a9ff1e Russell Brown Merge pull request #89 from basho/gh-88
e69ff25 Russell Brown Fix http Conversion of DeleteMeta to return the built value (not null)
5f67b84 Russell Brown Merge pull request #86 from basho/zd947_search
ea7a6d9 Russell Brown Remove the search precommit hook from the list of precommit hooks if it is present
fff007c Russell Brown Merge pull request #87 from basho/wrd-spelling-fix
a2d0379 Reid Draper s/NOT/NOTE
f677313 Russell Brown Update JavaDoc for new WriteBucket constructor
3bf5798 Russell Brown Add API for disabling search on a bucket
fc44b95 Russell Brown Merge pull request #84 from basho/no_converter
575ba09 Russell Brown Merge pull request #85 from bretthoerner/master
536c374 Brett Hoerner Bump jackson to 1.9.2
034c2c4 Russell Brown Remove Betbuy test
b21fcfc Russell Brown Detect store/fetch of Riak Objects and don't attempt to convert
b4615d9 Russell Brown Merge pull request #83 from basho/az935_pb_errors
014efee Russell Brown Add backwards compatibile fallback for pre 1.1 Riak
6c7e73c Russell Brown Remove hack to work around PB MapReduce errors difference from HTTP
794b633 Russell Brown Merge pull request #80 from basho/bz1296_mr_failFast
189e1e0 Russell Brown Merge pull request #81 from pramodsadalage/master
258c242 Pramod Update README.org
36cc215 Russell Brown Update ignore to allow xml changes
cc83853 Russell Brown Add assembly to build a jar with deps for non maven users
80a0d7f Russell Brown Merge pull request #79 from basho/bz1299_ts
d847872 Russell Brown Remove RiakObjectTest and move last modified test to TestRiakObject
2f93930 Russell Brown Add validation to MapReduce before execution
5873573 Russell Brown Remove redundant test setup method
2876641 Russell Brown Fix pbc RiakObject timestamp conversion bug
8459ce3 Russell Brown Merge pull request #78 from basho/gh-71
076305d Russell Brown Fix broken from(Config) method in PB client config builder
3025820 Russell Brown Bump pom version
1.0.3
-------------
This is a patch release that fixes a few minor issues. The one
non-trivial change is the fixing of where the client would attempt to
convert Riak Objects to JSON (b21fcfc).
**Changes**
f8010a9 Russell Brown Fix whitespace in Niklas' contribution
1fdfbae Niklas Gawell Added store without key functionality to http client
3a9ff1e Russell Brown Merge pull request #89 from basho/gh-88
e69ff25 Russell Brown Fix http Conversion of DeleteMeta to return the built value (not null)
5f67b84 Russell Brown Merge pull request #86 from basho/zd947_search
ea7a6d9 Russell Brown Remove the search precommit hook from the list of precommit hooks if it is present
fff007c Russell Brown Merge pull request #87 from basho/wrd-spelling-fix
a2d0379 Reid Draper s/NOT/NOTE
f677313 Russell Brown Update JavaDoc for new WriteBucket constructor
3bf5798 Russell Brown Add API for disabling search on a bucket
fc44b95 Russell Brown Merge pull request #84 from basho/no_converter
575ba09 Russell Brown Merge pull request #85 from bretthoerner/master
536c374 Brett Hoerner Bump jackson to 1.9.2
034c2c4 Russell Brown Remove Betbuy test
b21fcfc Russell Brown Detect store/fetch of Riak Objects and don't attempt to convert
b4615d9 Russell Brown Merge pull request #83 from basho/az935_pb_errors
014efee Russell Brown Add backwards compatibile fallback for pre 1.1 Riak
6c7e73c Russell Brown Remove hack to work around PB MapReduce errors difference from HTTP
794b633 Russell Brown Merge pull request #80 from basho/bz1296_mr_failFast
189e1e0 Russell Brown Merge pull request #81 from pramodsadalage/master
258c242 Pramod Update README.org
80a0d7f Russell Brown Merge pull request #79 from basho/bz1299_ts
d847872 Russell Brown Remove RiakObjectTest and move last modified test to TestRiakObject
2f93930 Russell Brown Add validation to MapReduce before execution
5873573 Russell Brown Remove redundant test setup method
2876641 Russell Brown Fix pbc RiakObject timestamp conversion bug
8459ce3 Russell Brown Merge pull request #78 from basho/gh-71
076305d Russell Brown Fix broken from(Config) method in PB client config builder
3025820 Russell Brown Bump pom version
1.0.2
-------------
This is a patch release that fixes a couple of minor bugs.
**Changes**
cf6db11 Correctly split content-type and charset for PB interface bz1288
85b94e7 This change fixes a bug in the Java client where all
commit hooks are added to the pre-commit list; anything incoming in
the post-commit list goes to the pre-commit hook list instead
2ddd975 Add connection timout to pb socket creation bz1275
855493c Fix incorrect encoding of reduce_phase_only_1 arg on fetch index bz1262
0c44b01 Fix incorrect default riak PB port bz1285
1.0.1
-------------
This relase fixes 1 critical and 1 major bug in riak-java-client. The
first is an error in the idle connection reaper that leads to an
infinite loop, the second a bug with the PB client factory which did
not start the idle connection thread before using the pool.
**Changes**
27fa0adfe4 Move connection age check inside connection timeout loop
[bz://1251]
bf0efe0383 Fix factories/tests that did not start up the pool before
using [bz://1252]
c85e98b263 RiakObjects created from link-walking now URLDecode their
keys
1.0
-------------
This version adds 2 new APIs to the riak-java-client whilst
maintaining (for now) backwards compatibility with the 0.14
releases. If you are using the legacy HTTP or PB RiakClient API your
code should still work. Please consider migrating to the new API, the
old API will be deprecated in the next release, and removed the
release after that.
This version replaces the EOL Apache HTTP Client 3x dependancy with
Apache HTTP Client 4.1.1.
Please view the README and this blog post[1] for full details.
There is a new API built around the RawClient interface, a transport
agnostic abstraction. There are two implementation at present that
adapt the legacy clients to the new API. There is some small
performance cost in this, since types must be converted between the
new common API and the older transport specific API, but it is small
(and temporary.)
There is also a second, higher level API, based around the IRiakClient
and Bucket interfaces. This API is a fluent builder based API that
provides abstractions and interfaces for simplifiying aspects of
working with a distributed, fault tolerant database. Of most interest
is a primative ORM (using the excellent Jackson JSON library) and an
interface for encoding conflict resolution strategies.
**Changes**
057c2f2 Merge branch 'az766_store'
9de410b Merge branch 'az771_delete' into az766_store
119544b Merge pull request #58 from basho/az783_api
a098f2c Remove sys.out from test
a3b8ded Change 'retrier' builder methods to 'withRetrier'
f63d0fe Update sibling tests with sleep time to allow bucket props to propagate
e60eeef Make Conflict/Conversion exceptions into RuntimeExceptions
5d43737 Remove duplicate vclock accessor
9e196e6 Make the setting of unsupported bucket properties fail loudly
6e5d39e Add new delete operation parameters
6721172 Add support for conditional store
088cb1d Add support for returning tombstone vclock
5301508 Add new fetch properties
e8ef8ff Merge pull request #51 from basho/bz1203_npe
cbec2a6 Add new 1.0 bucket properties (pr, pw, notfound_ok, basic_quorum)
39005f8 Update documenetation for 2i
95ef7d8 Add property to ignore 2i tests unless they are enabled
d9c6bfb Merge pull request #49 from basho/az493_search
139232b Update README with riak search example
bd1d6e4 Clarify usage for enabling search itests vi argLine
cd67a3f Add secondary index support
dfa0615 Fix NPE when calling store on default domain bucket
1d344e0 Update DEVELOPERS with how to enable search integration tests
0c80180 Remove redundant lib/* files
a0c0091 Merge pull request #48 from michaelklishin/patch-1
608fd6a Fix pbc.ITestMapReduceSearch to use correct port property
d8f0542 Add property control for search tests
4c6fa76 Add support for m/r search input to legacy and new clients
bd5ad43 master now builds 0.15-SNAPSHOT
ebc30a2 Add Riak Search m/r input
55918f6 Merge cadement pr32 to add search m/r to legacy clients
b47c231 Add meaningful exception when listKeys fails
831a465 Add PB client M/R code to read multiphase results
4a7c9e7 robustify pb mapred tests: reduce results may be delivered as multiple messages
087a2af Fix fetchMeta to handle siblings
9567f8f Merge pull request #45 from basho/bz1167_mr_args
b8ab408 Ensure map/reduce function argument is encoded and sent to server
13fdd21 Merge pull request #38 from basho/bz1142_pbc_meta
d53a62a Add JavaDoc and README details for connection acquisition exceptions
ab240a6 Fix incorrect default HTTP port in the HTTPClientConfig builder
e7b8e6a Add finally block to ensure entity always consumed for connection release
966dd5a Add ping to http client, RawClient and IRiakClient
45865ec Add constant for unbounded connection pools
68b002c Add test for content type being stored/retrieved
c8a0452 Add conversion code for user meta and links to pbc converter
d3f0cc9 Merge in fix to broken pbc pool from az481_profile
59cf9a2 Fix connection pool to only consume permits on connection creation
49f2595 Add constant for connection acquire attempt number
1477751 Add a "cluster client"
26d5859 Update version number in pom to indicate minor API change
fa6f20b Replace end of life apache http client 3.1 with 4.1
ccbd831 Merge pull request #35 from basho/bz1125_nval
c706a92 Change expected http code to 400 for n_val violation on delete
95c9646 Add test for RiakConnectionPool
3c9bcac Remove sys.out logging
a0039b6 Add a connection pool for the pbc.RiakClient
bfe3749 Make socket buffer size tunable by programmer and system property
f6f369a Add seed to SecureRandom for generating client id
c6c21bb Modify zero-results m/r test to account for new not_found result
a9dcb4c The last phase of a map/reduce must respect a keep value of false
13b2b14 Add instructions for building against non-default ports/host
06b7518 Add Host/Port param to factory for running itests against remote riak
d593697 Added RiakObject.getLinks() to protocol buffers client
47f1de2 Fix sporadically failing Domain Bucket test
2558f69 The last phase of a m/r query should default to keep=true
1d6ffd2 Add specific checked exception for Map reduce timeout
9d9a74f Fix array index exception for empty m/r result on pb client
9fd4a21 Add list buckets to new API
52cf38b Document new API packages, classes and methods
e643929 Add Link Walking tests for both http and pb clients
5e78743 Daemonise and name KeySource timer thread
8e007c8 Change multipart boundary charset to iso8859_1
e219194 Enforce correct characterset usage when going from byte[] to String
cb2a5c6 Add read quorum parameter to StoreOperation (for fetch before store)
4d59c23 Use Java standard library Callable instead of Command
9f7dd24 Merge pull request #23 from basho/bz1088.
dac9836 Deprecate legacy RiakClient and RiakObject
3cf5012 Remove references to deprecated legacy RiakClient code.
09386d9 Move all HTTP specific code to new client.http package
0c31b83 Add ITest for filters to existing m/r test
b6be99d Add link walking to both HTTP and PB client adapters
04c6755 Add VClock to RiakObject's parsed from link walk multipart response
74f7fa7 Implement MapReduce for new API
849c5ed Make filter name static final
079954c Add RW param to delete operations for HTTP client
57fc57c Add getter for VTag to pbc.RiakObject
1f7abe8 Add getter for lastModified to pbc RiakObject
d3df4ec Add getter for last modified date to pbc RiakObject
2b717d2 Make Multipart parse Java 5 compatible
65e6886 Parse multipart/mixed response entities as byte arrays, not strings.
eba46c4 Merged pull request #21 from codahale/fix-riak-connection-timer.
8d58949 Merge GitHub supplied patch to pr 18
f6ec76a Merged pull request #18 from taichi/unitetestinghost.
fd8d7a5 Make RiakConnection's timer daemon and named.
dbe79b6 bz1071 Fix store to return siblings if returnbody is true
dc20920 Initial commit of a high level Java API for Riak
b27c3b5 Add RW param to delete operations for HTTP client
e719257 get host and ports from System properties.
2b65bab unite RIAK_HOST and RIAK_URL. Hosts.java has test server host name and url.
883073e Incorporate Coda Hale's suggestions into a new API
0.14.1
-------------
This version fixes a few bugs with the protocol buffers client (including one
major crasher with setClientId). It fixes a bug setting max connections per
host which limited the http client to 2 concurrent connections. It fixes a
few encapsulation/thread safety issues. Some API elements have been deprecated
(direct access to RiakObject(s) links and user meta collections, mutation of
RiakLink) in preparation for removal in the next release. Unit and integration
test coverage has been increased to ~70% in preparation for a refactor. Java 5
is now supported.
**Changes**:
d8824e5 Add test to show byte[] value safely encapsulated in RiakObject
0e7d255 Add tests to show RiakObjects internal collections are thread safe
568cab8 Remove calls to deprecated methods from tests
c1e23eb Remove references to sun Base64Encoder/Decoder
79b3f5a Fix Javadoc typo and rename usermeta to userMetaData
35e49c5 Return defensive copy of internal value byte array
ad05279 Fix direct store of byte array
46bb956 Fix sporadically failing vclock test
86b1927 Fix encapsulation/safety issues from direct store of array arguments
825e734 Fix concurrent mutation issue for RiakObject's links
fc3172f Fix typo in README (link to DEVELOPERS.md)
a11206f Merge branch 'bz1040_coverage' - bz 1040
d88abac Add unit tests for pbc MapReduceBuilder - bz 1040
eb3cea9 Remove redundant imports
3eda593 Add integration and unit tests for the protobufs client - bz 1040
bb82e66 Add test for pbc RiakLink - bz 1040
96ac2aa Improve test coverage prior to refactor - bz 1040
cd0104e fix infinite loop in PBC setClientId - bz 1038
3897895 Fix always zero w and dw for PBC put request with RequestMeta
6aaecd8 RiakObject.writeLink(): Fixed bug (using setRequestHeader()
vs. addRequestHeader())
d54dd19 RiakObject.writeToHttpMethod(): Factored link part out; circumventing
problem with long http header lines (MochiWeb apparently has an 8K limit)
1f452b8 Add private constructor to JSONEquals helper class
6215c9f Change internal representation of M/R inputs to LinkedHashMap
ebdb63d Fix tests that depend on order of keys in Map
ff9748c Remove Java 6 only code and annotations
af74421 Add max connections per host to match max connections
2d72f31 updating maven dependency info on README
0.14.0
-------------
This version adds support for the riak protocol buffers interface.
0.11
-------------
This version no longer performs binary to String conversions automatically. All
bucket data is surfaced as byte arrays. Clients will need to either perform
their own string conversions or use the getBodyAsString() method added to the
com.basho.riak.client.response.HttpResponse interface.
0.10-SNAPSHOT
-------------
This version breaks compatibility with Riak releases prior to the pre-0.10
tag. Specifically, it no longer parses link walking results in prior releases.
**Changes**:
* Expect CRLF in multipart (link walking) results
(http://bitbucket.org/basho/riak/changeset/df553e35cc92/)
* RiakClient.getClientId() returns the raw client ID byte[4] rather than String
to avoid charset encoding issues
0.9.1
-------------
First official release of riak-client.