-
Notifications
You must be signed in to change notification settings - Fork 3
/
release-notes-4.0
2759 lines (1765 loc) · 114 KB
/
release-notes-4.0
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
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
HTML header: <title>dCache 4.0 Release Notes</title>
<!--#include virtual="/template/default-head.shtml" -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous"/>
<!--link type="text/css" rel="stylesheet" href="jquery.tocify.css" /-->
<style type="text/css">
h5 {
font-size: 15px;
font-style: italic;
margin-top: 20px;
}
body {
padding-top: 20px;
}
@media (max-width: 767px) {
#toc {
position: relative;
width: 100%;
margin: 0px 0px 20px 0px;
}
}
@media print {
#toc {
display: none;
}
}
</style>
<div class="container">
<div id="banner">
<div id="bird_large">
<img src="/images/dcache-banner.png" class="bird"></img>
</div>
<div id="sidebar-b">
<span class="dcache-nav-bar">
<a href="/index.shtml">home</a>
|
<a href="/news.shtml">news</a>
|
<a href="/manuals/index.shtml">documentation</a>
|
<a href="/downloads/IAgree.shtml">downloads</a>
|
<a href="/feedback.shtml">feedback</a>
|
<a href="/manuals/googlesearch.shtml">search</a>
|
<a href="/imprint.shtml">imprint </a>
</span>
</div>
</div>
<div id="content">
<div class="row">
<div class="page-header">
<h1>What's new in dCache 4.0<br/>
<small>Release notes</small></h1>
</div>
## Highlights
In preparation of upcoming changes, dCache 4.0 contains many small architectural improvements,
bug fixes and structural changes that will be needed for new features that will be incorporated
into later releases. Apart from greater stability and improved error handling in many circumstances,
there are few user-visible changes in this release.
For systems where local users also tend to be members of VOs, dCache 4.0 brings a helpful change in
the way group membership is assigned. gPlazma can now be configured so that several authentication
plugins cooperate in selecting and setting the primary GID of a user account, so that a user can
work in a mixed environment where he or she is recognized through both a local account and a VOMS identity.
In order to facilitate moving clients to using different checksums, the pools can now be configured to
calculate several checksums for any uploaded file at once. A file may thus get both an ADLER32 and an MD5
checksum, for example.
## Incompatibilities
The change to gPlazma mentioned above may change the behaviour of some more exotic gPlazma configurations.
In case a configuration exploits the fact that previously, attempts to assign multiple primary GIDs
led to failures, any behaviour built on that assumption will now change because the authentication
plugins will cooperate to assign one of the GIDs as primary and the other as secondary.
## Acknowledgments
Once again, we have received important code contributions from our users.
We would like to thank Christoph Anton Mitterer for his work on systemd integration,
Onno Zweers for spotting an https issue with WebDAV, and Robin Wenzel for his contributions
during the HTW course.
## Differences from dCache v3.2
The notes for [release 4.0.0](#release4.0.0) detail the differences
from dCache 3.2. Please read this section *very carefully* when
upgrading from this version.
## Release 4.0.47
### pool
Attempting to start a full checksum scan (with `csm check *`) while an
existing scan is still running is no longer reported as a bug.
### Changelog 4.0.46..4.0.47
<!-- git log 4.0.46..4.0.47 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[a7a610b876](https://github.com/dcache/dcache/commit/a7a610b8769e2750d8bb5c2a5f1adda84b6ad6b4)
: [maven-release-plugin] prepare release 4.0.47
[18178625ea](https://github.com/dcache/dcache/commit/18178625ea05733abf99187d0cd5844607983fb1)
: pool: avoid IllegalStateException in 'csm check *' command
[6e511978d2](https://github.com/dcache/dcache/commit/6e511978d285e1c1397db26c790e6c39c1ccc1a0)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.46
### alarms
To ease troubleshooting, the POOL_DEAD alarm message now includes the pool name.
### ftp
This release fixes an issue where a NullPointerException was thrown
by FTP doors. The error occured only in very specific circumstances:
a client would need to either download a file
or issue a LIST, NLST or MLSD command after uploading a file through
a passive door using proxied transfers.
### pinmanager
A bug was fixed where PinManager's `bulk ls` admin command yielded a
NullPointerException if the optional argument was omitted.
A typo prevented the error message "Remote connection failure while unpinning..." from
appearing completely and correctly in the logs. The error message string now contains
the message string of the underlying Exception, hopefully providing helpful details for
troubleshooting.
### pool
A regression that prevented a replica's position in the LRU queue for garbage collection from being updated was fixed.
### webdav
Users asserting the "admin" role would occasionally receive
NullPointerExceptions when trying to transfer files through
WebDAV. This release fixes that issue.
### Changelog 4.0.45..4.0.46
<!-- git log 4.0.45..4.0.46 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[ad22a2ca14](https://github.com/dcache/dcache/commit/ad22a2ca146969bb31529e87aaadb1a43b9f3e1b)
: [maven-release-plugin] prepare release 4.0.46
[c6116f0613](https://github.com/dcache/dcache/commit/c6116f0613ed04eeae9ade13aebd8736ffb4263a)
: UnpinProcessor: fix assumed typo `{)`
[ec3c42aa3b](https://github.com/dcache/dcache/commit/ec3c42aa3b86bfd234fa556d04b7aee8125cdf21)
: webdav: allow transfers as user with role 'admin'
[fffa6a2cc0](https://github.com/dcache/dcache/commit/fffa6a2cc0fb3b515523e25bc9fdece5595d7d4b)
: pinmanager: avoid NPE if no argument given for 'bulk ls' command
[2594616811](https://github.com/dcache/dcache/commit/2594616811e1b6e86275622db0aa3ea11154c98a)
: alarms: add pool name to POOL_DEAD alarm
[247bea8052](https://github.com/dcache/dcache/commit/247bea80526e1168dcd886a59705a04c9b48f79e)
: ftp: avoid NullPointerException after passive upload
[d8630797e3](https://github.com/dcache/dcache/commit/d8630797e37f85aa7abcd84f1fe16b3f5f830c7f)
: pool: fix reordering of removable replicas on access
[088711ee5a](https://github.com/dcache/dcache/commit/088711ee5aa7b7ef892608f5a893b6fc5116cb65)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.45
### Changes affecting multiple services
Stage request from unknown locations resulted in NPE in dcap and pinmanager services.
this is now fixed and using `dccp` to stage a file should work even if the location is unknown. '--'
### resilience
The current release fixed race condition on replica state and no `inaccessible file errors` occures for a newly written file.
### Changelog 4.0.44..4.0.45
<!-- git log 4.0.44..4.0.45 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[20c8263](https://github.com/dcache/dcache/commit/20c8263a7bd109d83595883bf0ff6daa7bde610f)
: [maven-release-plugin] prepare release 4.0.45
[722f061](https://github.com/dcache/dcache/commit/722f061dfd8e5b5a73da37e94dc593bfcbb5a96f)
: dcap/pinmanager: stage request for unknown location results in NPE
[100ed5f](https://github.com/dcache/dcache/commit/100ed5f4cd7a9095a5da04f4213869c1801d2192)
: dcache-resilience (stable branches): fix race condition on replica state
[723e709](https://github.com/dcache/dcache/commit/723e7098c638e2582700547281344baa7df15e56)
: [maven-release-plugin] prepare for next development iteration
[ceb980c](https://github.com/dcache/dcache/commit/ceb980cd6d56b967eeaba6e4a4c3c230eb96ab9c)
: resilience: adjust synchronization of file operation removal from map
## Release 4.0.44
### pool
An unhelpful error message "Parameter `directory` is not a directory" is
replaced with one that provides information on which directory is
missing.
Update error messages (previously "Could not create mover") to provide
more information about why the mover could not be created.
The pool no longer logs configuration or deployment problems that
prevent the pool from creating a mover as if that problem was a bug.
The current release fixed certain error cases, where a pool is unable to create a mover are no
longer logged as a bug in dCache.
### transfermanager
The current release fixed a NPE if transfer was cancelled.
### Changelog 4.0.43..4.0.44
<!-- git log 4.0.43..4.0.44 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[e149388](https://github.com/dcache/dcache/commit/e1493883a69eaa217270f488810c8f8e178cad83)
: [maven-release-plugin] prepare release 4.0.44
[577a54d](https://github.com/dcache/dcache/commit/577a54ddcafc142623ea41791ef2362c3faeeb22)
: pool: avoid throwing a RuntimeException for non-bugs
[d3ec801](https://github.com/dcache/dcache/commit/d3ec801989b0bba76bf1343794124ea873b71849)
: pool: avoid log-and-throw anti-pattern
[1f222d3](https://github.com/dcache/dcache/commit/1f222d3774a62ceb2552e53a478bd15f28f1778a)
: transfermanager: avoid NPE on shutdown
[d4c1cbe](https://github.com/dcache/dcache/commit/d4c1cbe05f6523ceeaad84fc434482f9e97290b6)
: pool: throw exception with meaningful error message
[d307641](https://github.com/dcache/dcache/commit/d3076416b7ed995c662e0e0cfbfb2b7675274f90)
: pool: update error messages to make them distinct
[70378b3](https://github.com/dcache/dcache/commit/70378b3204df23d363fff0ddd8fc86825c4bd427)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.43
### dcache
Jetty version is updated to 9.4.12.v20180830.
### resilience
It is now possible to record resilience activity (on the receiving
end), which may prove useful in understanding
behaviour.
In rare circumstances dark removes can result in data loss by
removing of all replicas for a given file. The current release fixed the issue.
Pool operations now can successfully be restarted from the
command line after they have been shutdown, without
restarting resilience.
### Changelog 4.0.42..4.0.43
<!-- git log 4.0.42..4.0.43 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[7871b7f](https://github.com/dcache/dcache/commit/7871b7f2f5565ffcae20dc75172f0e64cd6f6db8)
: [maven-release-plugin] prepare release 4.0.43
[4b71475](https://github.com/dcache/dcache/commit/4b71475e85b5952d79575ed44bb09c222ff93d08)
: resilience: update state on pool operations when restarted from admin command
[19655eb](https://github.com/dcache/dcache/commit/19655eb01b7f3acdf737e7b20874a3ff31dbbe84)
: chimera-shell: fix class cast of extractor in constructor
[f176365](https://github.com/dcache/dcache/commit/f176365b4f8f58ba4547082732f14a4b0d2e93bb)
: libs: update jetty version to 9.4.12.v20180830
[bc1e5a2](https://github.com/dcache/dcache/commit/bc1e5a29d9def45563c4682d3515c877de61c359)
: resilience: do simple existence check of replica on pool to avoid dark removes
[dd7c5b6](https://github.com/dcache/dcache/commit/dd7c5b640a0856d8ec79459f09e1af0867a6c612)
: [maven-release-plugin] prepare for next development iteration
[c6471c1](https://github.com/dcache/dcache/commit/c6471c1dc67911698ff28e8a184230805e1fbb3e)
: resilience: add ability to log resilience activity (incoming)
[68e36e1](https://github.com/dcache/dcache/commit/68e36e1a3b78f2efc57348ff8c912b537178c82a)
: resilience: add ability to log resilience activity
## Release 4.0.42
### webdav
The current release fixed resource name for door root error.
### Changelog 4.0.41..4.0.42
<!-- git log 4.0.41..4.0.42 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[144c899](https://github.com/dcache/dcache/commit/144c8996b9aefff5c362d0270b5308c817eb4474)
: [maven-release-plugin] prepare release 4.0.42
[6703656](https://github.com/dcache/dcache/commit/67036563cde9cc7fe5a651744e415d117dc401f9)
: webdav: fix resource name for door root
[029f28a](https://github.com/dcache/dcache/commit/029f28aa2a6c99b7d0da5f4c862a45a09b6730dd)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.41
### ftp
Now clients can request the checksum value of a file not owned by that
user and where dCache does not already know the checksum value.
### pool
The current release fixed some logging on the pool where messages were recorded against an
arbitrary context (i.e., the bit in square brackets), resulting in
misleading information.
### Changelog 4.0.40..4.0.41
<!-- git log 4.0.40..4.0.41 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[63f22d4](https://github.com/dcache/dcache/commit/63f22d46e83dffd75546edec3560ee9c7540d6a4)
: [maven-release-plugin] prepare release 4.0.41
[adb82a6](https://github.com/dcache/dcache/commit/adb82a61a9cd07405b6826a7bb30cdaa74b9ca09)
: pool: fix CDC for repository listener notification
[ab22edd](https://github.com/dcache/dcache/commit/ab22eddc73f92bbe7ff9126d24964763c2a357e7)
: ftp: store calculated checksum using root privileges
[7a1241a](https://github.com/dcache/dcache/commit/7a1241a410abf8c22d7e3acb10933a0f979b03f6)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.40
### webdav
When users request a macaroon via an HTTP POST request targeting
a specific path, a caveat is created that restricts the macaroon
to that path (requests to / result in a non-limited macaroon).
Commit 99c726e3 resulted in users getting back a non-limited
macaroon for every request. This issue was fixed with this
release.
### Changelog 4.0.39..4.0.40
<!-- git log 4.0.39..4.0.40 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[a7d821186e](https://github.com/dcache/dcache/commit/a7d821186e5c17d5aeff5db8178c50a8bd45a575)
: [maven-release-plugin] prepare release 4.0.40
[eae47330f3](https://github.com/dcache/dcache/commit/eae47330f3233b7a46f2bcefe356ec0ce7cb94e9)
: systemtest: fix OpenSSL DN format change
[6022036556](https://github.com/dcache/dcache/commit/6022036556ae6b117cabac07303090701991ccf4)
: webdav: fix path-to-caveat for macaroon minting endpoint
[e1f5f5ea04](https://github.com/dcache/dcache/commit/e1f5f5ea04b9f4d852e122d32c4c75ac1d0d15d1)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.39
### alarms
Pool errors involving a fatal repository fault, for
instance, can be sent now as an email alarm without
having to send all pool disabled alarms.
### gplazma
The JAAS gplazma plugin no longer logs a stacktrace on bad configuration.
### pool
The current release improved error messages making them clearer by avoid using the same error message in multiple places.
### srm
A stack-traces fixed for concurrent updates in pin-manager and similar
(expected) failures.
### transfermanager
Now Third-party transfers fail if the client is requesting to copy a file
from dCache that has not fully been uploaded.
### webdav
Disabling basic authn should not now disable macaroons. The current release fixed `webdav.authn.basic` and `frontend.authn.basic` so that setting
these configuration properties to `false` no longer blocks macaroons from being accepted in the HTTP Authorization header.
The current release impoved error messaging for unauthenticated request.
IllegalArgumentException exception is fixed now and attempts by a client to copy a file that has not fully been uploaded
results in a clear error response.
### Changelog 4.0.38..4.0.39
<!-- git log 4.0.38..4.0.39 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[6130d2b](https://github.com/dcache/dcache/commit/6130d2b6d5e99556eb5691c3436368b098069173)
: [maven-release-plugin] prepare release 4.0.39
[47a0806](https://github.com/dcache/dcache/commit/47a080616d4490a325d0a8ebbb74f1664247ad38)
: webdav/frontend: disabling basic authn should not disable macaroons
[796ae0b](https://github.com/dcache/dcache/commit/796ae0b73faf96a8a83eb2341eb640e54d928414)
: srm: do not log a stack-trace on expected Exception errors
[cf4dada](https://github.com/dcache/dcache/commit/cf4dadaf9737be46517a9a40ebe23f6d9ef7a802)
: transfermanager: fail third-party copy if the file is still being uploaded
[cfae242](https://github.com/dcache/dcache/commit/cfae242b17658c3cef9b8988d29e40b858e33c28)
: webdav: fail COPY early if file is currently being uploaded
[65791b3](https://github.com/dcache/dcache/commit/65791b3dd3161961c51b9b61c1ed38226f3f8178)
: transfermanager: abort transfer if there is a bug
[7e91526](https://github.com/dcache/dcache/commit/7e9152681ae01904d25289a93fbea64c16c5c117)
: gplazma: JAAS plugin logs a stack-trace on misconfiguration
[5969503](https://github.com/dcache/dcache/commit/59695038aba4e065115d10d1fceaccd76354bb5c)
: pool: avoid using the same error message in multiple places
[7627e34](https://github.com/dcache/dcache/commit/7627e348b9ba38fc901fbb85691063df0d2fbd3a)
: alarms: add pool dead alarm
[9bfef0b](https://github.com/dcache/dcache/commit/9bfef0b6eaab28f57fc9c0001f97a7e06cf861b1)
: [maven-release-plugin] prepare for next development iteration
[d3864b2](https://github.com/dcache/dcache/commit/d3864b2e6cd538c748e5445375d53fef22153fae)
: pool: don't update atime on flush
[8ee187f](https://github.com/dcache/dcache/commit/8ee187f305d598b4a1bd3917d7839f23d2fb2461)
: scripts: fix 'dcache pool yaml' command
[fc2b228](https://github.com/dcache/dcache/commit/fc2b228a13a1c8cd63a70967bed5a784b755b5c8)
: webdav: 401 for unauthenticated requests; message in status line
## Release 4.0.38
### ftp
The current release fixed MLSC command for non-small directories and Globus is now able to list directories with > 100 directories.
### Changelog 4.0.37..4.0.38
<!-- git log 4.0.37..4.0.38 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[95552ec](https://github.com/dcache/dcache/commit/95552ec584a82acfb8aff0ff263894ee666dbe9a)
: [maven-release-plugin] prepare release 4.0.38
[dd51676](https://github.com/dcache/dcache/commit/dd51676480cb2c8a990d02c65885bbaf2d400e44)
: ftp: fix MLSC command for non-small directories
[06df72a](https://github.com/dcache/dcache/commit/06df72a97e89cf8a065b62f02e59d97d3c2a7d2f)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.37
### billing
Database connection loss now is reported for billing.
### webdav
The current release fixed the problem where all but one requests fail, if multiple concurrent PUT requests have directories in the path that do not already exist.
### Changelog 4.0.36..4.0.37
<!-- git log 4.0.36..4.0.37 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[78f3f48](https://github.com/dcache/dcache/commit/78f3f486b252ffadd6ed21de4dc82554b91e8712)
: [maven-release-plugin] prepare release 4.0.37
[dd446d5](https://github.com/dcache/dcache/commit/dd446d529429fc61878e9186695c4f9df71262b9)
: dcache: wrap billing data source with AlarmEnabledDataSource
[6f1e59c](https://github.com/dcache/dcache/commit/6f1e59c5c9d2357868850d6ff339a2fc691f2d0a)
: common: fix random data generation in TimeseriesHistogram unit test
[2cc139b](https://github.com/dcache/dcache/commit/2cc139ba5a22cd835a5a5dd6a7b37120775be175)
: webdav: work-around Milton racy API for creating collections
[93ae769](https://github.com/dcache/dcache/commit/93ae769fbee32ab439b340be2ba0cf5bfe88abba)
: webdav: fix name of root
[d1931d6](https://github.com/dcache/dcache/commit/d1931d633123952161f5fbe4764afb3cc897fd27)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.36
### gplazma
Since update to newer BC and voms-java-api libraries
sites report VOMS certificate validation errors like
This is now fixed.
### srm
The `dcache ports` command now includes the srm's TLS/SSL interface.
### Changelog 4.0.35..4.0.36
<!-- git log 4.0.35..4.0.36 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[38c75f5](https://github.com/dcache/dcache/commit/38c75f53a8b5c0bf4f6df77964ac59b1b959e3cc)
: [maven-release-plugin] prepare release 4.0.36
[e2928ad](https://github.com/dcache/dcache/commit/e2928ad8443e4a921b719e77acdf27d9d8ca5ca9)
: gplazma voms plugin: add trust anchor refresh paramater
[1001dd6](https://github.com/dcache/dcache/commit/1001dd61a690dc319514c30433dc624539cb690b)
: srm: include TLS/SSL port in 'dcache ports' command
[790ca89](https://github.com/dcache/dcache/commit/790ca89f472d55d31a18e2f8b3ab82e614bc718c)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.35
### Changes affecting multiple services
The current release corrected the properties for access-log.
### Changelog 4.0.34..4.0.35
<!-- git log 4.0.34..4.0.35 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[173b6a1](https://github.com/dcache/dcache/commit/173b6a18227ceb7d6265270143cf0b715a774f53)
: [maven-release-plugin] prepare release 4.0.35
[b83c282](https://github.com/dcache/dcache/commit/b83c2824eb3685751770bbf752d7b3600863230b)
: correct the properties for access-log
[4c8281b](https://github.com/dcache/dcache/commit/4c8281be282c5c9f7c4eeed960bc54bcfce59f1e)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.34
### Changes affecting multiple services
If a client specifies a checksum value with either a WebDAV or FTP upload,
a `Restriction check by-passed due to missing path` warning was logged occasionally.
This was fixed now, ensuring that restrictions are always applied.
### pool
Space reservations on pools that are connected to tape showed a problem with
failing restore requests: If a restore failed, the space that was reserved to
hold the file that was supposed to come in from tape was not freed again but
kept in the 'sticky' state. This resulted in lots of unusable space on pools
that could only be reclaimed through a restart.
With the current release, this issue is fixed and space is freed as soon
as possible after a failed restore request.
### resilience
A very rare race-condition is fixed where a failed upload results in
resilience recording a stack-trace.
### webdav
An issue with the Milton WebDAV library prevented Partial (or vector-read) GET requests
from succeeding. This was fixed now through both an update of the dependency and a local
patch while we wait for the proposed fix to be included upstream.
### Changelog 4.0.33..4.0.34
<!-- git log 4.0.33..4.0.34 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[0488d2dc37](https://github.com/dcache/dcache/commit/0488d2dc374fc232209cf1dfdd4746d9742269b7)
: [maven-release-plugin] prepare release 4.0.34
[164b539921](https://github.com/dcache/dcache/commit/164b539921f03e724191210d3c18d800dc1f1394)
: webdav: fix proxied partial (vector-read) GET requests
[e7dc702f29](https://github.com/dcache/dcache/commit/e7dc702f2922bbdfbce259c05b587802f9de70bb)
: pool: fix pool space accounting on failed restores
[ccbfedab7d](https://github.com/dcache/dcache/commit/ccbfedab7d39a06815c0e65d4fd1d0203dc71a19)
: resilience: fix NPE if file unlinked when resilience processes a broken file
[307d443951](https://github.com/dcache/dcache/commit/307d443951b39661f8189058f5f590635bcc0ffa)
: ftp/webdav: fix bypass of restrictions
[e426e1667b](https://github.com/dcache/dcache/commit/e426e1667bbfdc5da3688af48e5e4d9b4846f071)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.33
### alarms
An internal issue with the alarms configuration was fixed, which
should prevent a rare NullPointerException from occuring.
### dcap
Creating a file or directory using the DCAP protocol with a URL
as parameter, the file permissions were not set correctly.
With the current release, this was corrected, and such files
use the client-supplied file permissions. If none are provided,
the default modes 0700 (for directories) and 0600 (for files)
are used.
### xrootd
An uncaught exception in xrootd doors was fixed.
### Changelog 4.0.32..4.0.33
<!-- git log 4.0.32..4.0.33 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[62657c3f71](https://github.com/dcache/dcache/commit/62657c3f71b8432e127b5967a8b5d36cb63d43ac)
: [maven-release-plugin] prepare release 4.0.33
[cb1020343e](https://github.com/dcache/dcache/commit/cb1020343e7001ecfaf6ffdd07336384df6803cc)
: alarms: fix persistence.xml configuration
[6423f196ea](https://github.com/dcache/dcache/commit/6423f196ea3a3873f020a845af3dc85f79b5b1ea)
: dcap: fix permission propagation with DCAP
[8c2e8da647](https://github.com/dcache/dcache/commit/8c2e8da6472afa3f1a47283811a4a20459aa319b)
: dcache-xrootd: handle possible race condition in directory listing
[8b772286f2](https://github.com/dcache/dcache/commit/8b772286f2507d42bef4dd63314bd0c472f2736c)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.32
### statistics
Metadata merge was using max when it should had used min, this is now fixed.
### Changelog 4.0.31..4.0.32
<!-- git log 4.0.31..4.0.32 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[53c9888](https://github.com/dcache/dcache/commit/53c98881232ad480bbe0e3a711f1b95b40e098a2)
: [maven-release-plugin] prepare release 4.0.32
[cf06159](https://github.com/dcache/dcache/commit/cf06159cce42a3ba8b0ad252bf62ca7349246613)
: common: fix histogram metadata merge
[6574f09](https://github.com/dcache/dcache/commit/6574f0935051b131869cdcd90534def4c5d6a28b)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.31
### ftp
The current release provides better protection against leaking proxy/data TCP sockets if client
aborts a proxied transfer.
### srm
Clients that use the gridsite protocol, such as davix, can now delegate
their credential.
### Changelog 4.0.30..4.0.31
<!-- git log 4.0.30..4.0.31 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[4172208](https://github.com/dcache/dcache/commit/4172208b00031c8e7f8936c10db5fb450a9a03ec)
: [maven-release-plugin] prepare release 4.0.31
[3b060dd](https://github.com/dcache/dcache/commit/3b060dd01d1c982b8771c5fb0b394c257e060c90)
: ftp: make shutdown more robust
[30ae5dd](https://github.com/dcache/dcache/commit/30ae5ddac5b1490346e272db3e52ca43b7c83a0a)
: common: fix bug in CountingHistogram index computation
[ccef077](https://github.com/dcache/dcache/commit/ccef077d1e8ac1c431a4a38cb52397ca0a67e791)
: [maven-release-plugin] prepare for next development iteration
[a87fa21](https://github.com/dcache/dcache/commit/a87fa21ad3ce586d96f5735ef299aea0ba4df8bb)
: srm: gridsite fix querying validity of delegated credential
## Release 4.0.30
### ftp
The performance markers that dCache sends back to the client in FTP transfers
are now more robust against bugs.
### nfs
When transient errors in pools cause NFS transfers to have to wait and retry,
the system's behaviour is now more robust and no StackOverflowErrors should be logged any more.
### scripts
Maven's findbugs plugin is now granted more working memory in order
to make builds, especially on our continuous integration system,
more robust.
### srm
Certificate lifetime considerations for VOMS proxy certificates are
improved in this release: if a
client delegates a credential where the VOMS AC expires before the X.509
proxies, dCache now will not use the credential beyond the AC expiry time.
This avoids unnecessary authentication errors.
### webdav
When the WebDAV door is considering an HTTP third-party-copy request
that uses grid-site delegation, there is a minimum 20 minute validity
that any existing delegated credential must satisfy. If this is not
satisfied then dCache will request a fresh delegated credential.
Until now, if the client failed to delegate a fresh certificate then the
subsequent COPY request was rejected. This release changes that behaviour
and enables such transfers.
### Changelog 4.0.29..4.0.30
<!-- git log 4.0.29..4.0.30 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[7cd371066d](https://github.com/dcache/dcache/commit/7cd371066dc697073bb4dc649ccd0272d71f4d85)
: [maven-release-plugin] prepare release 4.0.30
[37a7212a0d](https://github.com/dcache/dcache/commit/37a7212a0d6a03bd095ce34f75296adbd2ea26b9)
: scripts: Avoid findbugs memory errors
[a619fa8c93](https://github.com/dcache/dcache/commit/a619fa8c93c2068600f6b658e877ace2671c9123)
: nfs: increase request retry delay when selecting/starting pool or mover
[b5371e9fae](https://github.com/dcache/dcache/commit/b5371e9faec6cdf4272cc79284255e509320eaa0)
: webdav: adjust minimum validity after requesting delegation
[7ff0b933bc](https://github.com/dcache/dcache/commit/7ff0b933bc4910b29624dfcb1e07d5cede1d89ca)
: srmmanager/webdav: consider VOMS AC validity of delegated credential
[f226a8503b](https://github.com/dcache/dcache/commit/f226a8503b198a1e475c3e799438e00a35a7da14)
: ftp: make performance marker task robust.
[0f14230923](https://github.com/dcache/dcache/commit/0f142309239f69877d144630fbb66038595c9ef5)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.29
### pool
Diagnostic logging for failed HTTP third-party transfers was improved.
Billing records for failed transfers now show more detailed information.
The handling of cancelled flush requests for nearline media
was rewritten to be more efficient. This resolves issues where pools
report "Flush of 0000... failed with: CacheException" followed by
"Pool restart required: Internal repository error".
Compatibility with DPM was improved by increasing HTTP GET requests' timeouts.
This should allow more transfers to succeed.
### poolmanager
Supplying poolmanager with an unresolvable hostname as the target will
now result in an UnknownHostException instead of the previous behaviour
where an (unnecessary) NullPointerException was thrown.
### srm
Logging of errors in the SRM credential store was improved.
### webdav
If a non-resolvable host name is given as the source or destination
of a third-party copy request, WebDAV will now fail the transfer
immediately instead of waiting for a Poolmanager timeout.
Diagnostic logging for failed HTTP third-party transfers was improved.
### xrootd
dCache allows xrootd clients to specify a query/opaque string in a
kXR_mv request's source path.
### Changelog 4.0.28..4.0.29
<!-- git log 4.0.28..4.0.29 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[14ee345617](https://github.com/dcache/dcache/commit/14ee3456175c6e0c1474d68aa0580431d119822c)
: [maven-release-plugin] prepare release 4.0.29
[e7f1b255c1](https://github.com/dcache/dcache/commit/e7f1b255c114cdbdc21d228b4ea462a6f5aee9ea)
: pool: HTTP TPC rework exception logging
[90e0a66e0b](https://github.com/dcache/dcache/commit/90e0a66e0b005e615f3d5f4e4ee431b312bcec6c)
: pool: increase TPC socket timeout for GET requests
[a5d3b52cf8](https://github.com/dcache/dcache/commit/a5d3b52cf8a3075d43b0071039946912cf1a4cec)
: srm: fix credential store logging
[46650bca9d](https://github.com/dcache/dcache/commit/46650bca9d98aa40ccc91d3f28f18d2dffc820fa)
: pool: update log status using exception class name if no message
[fe91d5e0ea](https://github.com/dcache/dcache/commit/fe91d5e0ead91282f41843dfdd889196b2133374)
: xrootd: strip off query part from kXR_mv source
[53f015e9a1](https://github.com/dcache/dcache/commit/53f015e9a14dab00fa8275a27ad5137905d5a967)
: webdav: fail TPC request early on unknown hostname
[6bbd2be1e0](https://github.com/dcache/dcache/commit/6bbd2be1e0fa2100ba3b0d5f0d5472ffcf61f06f)
: nearline-provider: do not propagate thread interrupt flag
[e5ba64481a](https://github.com/dcache/dcache/commit/e5ba64481a4da2c818cf76ae1ae2a1454011e980)
: poolmanager: fix NPE on unknown host
[5268bd3785](https://github.com/dcache/dcache/commit/5268bd37851784c2fff7893255a145e9dee0c1b3)
: webdav: improve logging of TPC requests
[1c22d720e2](https://github.com/dcache/dcache/commit/1c22d720e2754d3e09ec9bc68d7f586dbe056b44)
: [maven-release-plugin] prepare for next development iteration
## Release 4.0.28
### Changes affecting multiple services
In order to more easily identify a rejected macaroon in the logs, its ID is now included in the log message.
An irrelevant stacktrace was logged on unexpected CacheExceptions. This
was removed, leading to less clutter in the logs.
Different macaroons that were issued against the same secret are now discernible in the logs.
Users now get more information about the reasons why an invalid macaroon was
rejected: HTTP requests that are made with an invalid macaroon have a 401 HTTP
response with the status-line explanation phrase that describes why the
macaroon is invalid.
The access log file also logs why a macaroon was rejected.
### core
A library dependency was updated to avoid [CVE-2018-11771](https://nvd.nist.gov/vuln/detail/CVE-2018-11771). This patch introduces no user-visible changes.
### gplazma
Invalid macaroon logins no longer "spam" gPlazma.
### pnfsmanager
When creating a macaroon to allow uploading of data, the desired path
may not already exist. Without restrictions, WebDAV will auto-create
parent directory items that are missing, or the client can create these
directory elements explicitly with MKCOL.
With restrictions (such as from a macaroon) such directory creation
currently requires the MANAGE activity, which allows other actions
beyond the scope of this scenario. With this release, the behaviour
was changed so that a user with a macaroon that authorises them to upload data into a
particular directory will be able to create parent directories to
achieve uploading the data.
### pool
A regression caused pools that had their size only specified in a layout file
to report a size of 8 Exabytes. This issue was fixed.
dCache now supports a DPM-specific HTTP extension that indicates the
checksum calculation is not yet complete, avoiding potential data
corruption with third-party copies: If DPM is calculating a checksum, then any RFC 3230 (i.e., with a
'Want-Digest' header) GET or HEAD request returns '202 Accepted' respond
status line and an HTML page as the response entity. Since dCache
considers any 2xx response as success, the HTML page was previously accepted as the
file's contents, resulting in data corruption.
dCache pools no longer log a stack-trace for non-bug P2P failures.
### srm
The domain '.access' log file now contains log information for grid-site
delegation activity, which facilitates debugging of http third-party-copying issues.
### transfermanagers
The "restriction check by-passed" warning for each WebDAV-initiated
third-party transfer is fixed.
### webdav
A user may request a macaroon by making an HTTP POST request to the
WebDAV door. This log entry was augmented by the ID and type of
macaroon used.
A previous patch needed a bit of an update to ensure that X.509-with-FQAN authenticated third-party transfers with macaroons work under all circumstances. This is now ensured.
### xrootd
The `--zip` option of xrootd clients is now supported.
### Changelog 4.0.27..4.0.28
<!-- git log 4.0.27..4.0.28 -no-merges -format='[%h](https://github.com/dcache/dcache/commit/%H)%n: %s%n' -->
[3bf021ba1e](https://github.com/dcache/dcache/commit/3bf021ba1ede8edf69031fdf5f7328a0f760b5a3)
: [maven-release-plugin] prepare release 4.0.28
[d46ba16630](https://github.com/dcache/dcache/commit/d46ba166303ee90bd596643b1d9f1180b3486fd1)
: xrootd: add support for kXR_stat on open files
[27c9a340ac](https://github.com/dcache/dcache/commit/27c9a340ac65c8a1b732cd48005ae3853187069d)
: pool: P2P failures trigger stack-trace
[545d5b6fa4](https://github.com/dcache/dcache/commit/545d5b6fa41bc8c2d2b542de431b5d0da15c722b)
: webdav: obtain FQAN from X.509 credential for gridsite
[a586818c11](https://github.com/dcache/dcache/commit/a586818c1163a0da0a77aba8009b06c896627008)
: core: avoid sending bad macaroons to gplazma
[5e929b214e](https://github.com/dcache/dcache/commit/5e929b214e327c55b6d2809bfababc0943ae0bed)
: webdav: update access log to record macaroon request details
[a9341e53a5](https://github.com/dcache/dcache/commit/a9341e53a5bcacdbec242686414f7312ca2d1146)
: transfermanager: fix missing path
[c0399321e5](https://github.com/dcache/dcache/commit/c0399321e578a25a3b080098ecef7e1d757ad0ed)
: libs: update to commons-compress-1.18
[155e4a994f](https://github.com/dcache/dcache/commit/155e4a994f63e060ab5d6f588957d00c832e9238)
: macaroons: include macaroon id in error message
[a32b8e4615](https://github.com/dcache/dcache/commit/a32b8e46156307b3faef1ba3cbb477f817bc7a63)
: pool: fix pool's runtime configured size regression (b70b0d9)
[218baaf895](https://github.com/dcache/dcache/commit/218baaf89536f97c46b6612ee6ff418114c7202c)
: core: provide better feedback and logging if a macaroon is rejected
[53f5d50733](https://github.com/dcache/dcache/commit/53f5d507336451412079fd72447ef1fb24942594)
: pool: update HTTP TPC to support retrying GET and HEAD requests for DPM
[780729397a](https://github.com/dcache/dcache/commit/780729397a21ed39a84ce2de7075298dc2da2d0f)
: srm: add gridsite delegation interface access-log
[cccc2840cb](https://github.com/dcache/dcache/commit/cccc2840cb582b1c64ac7008bb61e0d0be24a645)
: macaroons: fix logged id
[f489eabbca](https://github.com/dcache/dcache/commit/f489eabbca1da0cf857fcb7f86a9cfd70db9eee7)
: core: avoid stacktrace on arbitrary CacheException
[c78c707209](https://github.com/dcache/dcache/commit/c78c707209a6a9b2e70ef516cf185d79ec8618af)
: [maven-release-plugin] prepare for next development iteration
[f1dae40568](https://github.com/dcache/dcache/commit/f1dae40568a290c16507094e40b50e2bab361f1b)
: pnfsmanager: allow restricted user with UPLOAD to create parent directories
## Release 4.0.27
### poolmanager
This release increases responsiveness for users that are not allowed to stage files, and for NFS users who access offline files.