Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
dccae86
[maven-release-plugin] prepare release v4.16.0-rc0
hangc0276 Mar 23, 2023
a58e14c
[maven-release-plugin] rollback changes from release preparation of v…
hangc0276 Mar 23, 2023
332647f
Fix write entry failed in without writing journal case (#3884)
hangc0276 Mar 26, 2023
5474a84
[maven-release-plugin] prepare release v4.16.0-rc1
hangc0276 Mar 26, 2023
f12fb0f
[maven-release-plugin] rollback changes from release preparation of v…
hangc0276 Mar 26, 2023
378eb07
Optimize log4j dependency in Bookkeeper (#3892)
Mar 28, 2023
9b5a810
release ledgerHandler when no missing fragments in checkAllLedgers (#…
Nicklee007 Mar 29, 2023
c14d552
upgrade hadoop version to 3.3.5 to resolve CVE-2019-10202 (#3896)
hangc0276 Mar 29, 2023
8890a61
[maven-release-plugin] prepare release v4.16.0-rc2
hangc0276 Mar 29, 2023
25852ea
[maven-release-plugin] rollback changes from release preparation of v…
hangc0276 Mar 29, 2023
424ec12
[fix] DigestManager should not advance readerIndex (#3919)
michaeljmarshall Apr 14, 2023
c772d0e
Upgrade python client version to 4.16.1 (#3921)
hangc0276 Apr 14, 2023
d1b3dbf
Bump branch-4.16 development version to 4.16.1-SNAPSHOT (#3920)
hangc0276 Apr 14, 2023
8122a87
[maven-release-plugin] prepare release v4.16.1-rc0
hangc0276 Apr 15, 2023
a39a5f9
[maven-release-plugin] rollback changes from release preparation of v…
hangc0276 Apr 15, 2023
e03949a
Use ChannelVoidPromise to avoid useless promise objects creation (#3733)
nicoloboschi May 4, 2023
e442642
Execute clean indexes in finally (#3772)
gaozhangmin Apr 7, 2023
39d5fc1
[Bug] Always one orphan ledger is created (#3813)
Reidddddd Jun 16, 2023
9a2cc80
[Bookie] Prevent transit to writable mode when forceReadOnly mode is …
gaozhangmin Apr 3, 2023
68cff3d
Return activeLogChannel if new create (#3894)
AnonHxy May 12, 2023
25e7784
Fix garbage collection blocked by runtime exception (#3901)
hangc0276 May 15, 2023
4d65b9e
Fix keys leak in EntryLocationIndex when ledgersToDelete is empty (#3…
hangc0276 Apr 10, 2023
b66af0f
Fix ReclaimedSpaceViaDeletes stats incorrect problem. (#3906)
horizonzy Apr 22, 2023
d3f8aa3
Cleanup CbThreadFactory (#3907)
AnonHxy Apr 12, 2023
4b68852
[Bug] SingleDirectoryDbLedgerStorage#flushMutex does not release lock…
StevenLuMT Apr 7, 2023
0679858
Remove avro, hadoop-auth and jersey-json dependencies from hadoop-com…
hangc0276 Apr 17, 2023
36043c3
recycle dropping read-write requests when various exceptions happened…
wenbingshen Apr 26, 2023
8c4f3c8
Enable PCBC completionObjects autoShrink to reduce memory usage and g…
wenbingshen Apr 22, 2023
81fd119
Upgrade docker base image to resolve CVE-2023-0286 (#3916)
hangc0276 Apr 13, 2023
db41a5c
Fix ledger replicated failed blocks bookie decommission process (#3917)
hangc0276 Jun 19, 2023
eaefcfc
Fix some metrics generated by prometheus client without type info (#3…
hangc0276 May 4, 2023
3e88438
Upgrade docusaurus to 2.4.0 (#3936)
hangc0276 May 4, 2023
c8fecfe
Upgrade jetty version to 9.4.51.v20230217 (#3937)
hangc0276 May 4, 2023
8e8ea7a
drop invalid entryFormat arg from shell command (#3938)
wenbingshen May 10, 2023
6ade69f
fix wrong update checkAllLedgersTime when ledgerReplication disabled …
wenbingshen Apr 27, 2023
6cbccfd
When the executor has been shut down, do not schedule task (#3946)
wenbingshen May 10, 2023
c8d9833
Fix npe when iterate pendingLedgersUpdates and pendingDeletedLedgers.…
horizonzy May 19, 2023
2aede4b
Avoid compaction to trigger extra flushes DbLedgerStorage (#3959)
merlimat May 22, 2023
02074ad
Reduce unnecessary creation of ReplicationEnableCb objects (#3960)
wenbingshen Jun 19, 2023
ab90a14
clear channel when channelInactive (#3966)
wenbingshen May 31, 2023
59ef60a
check indexBaseDir specified with ledgerBaseDir (#3967)
wenbingshen May 31, 2023
2d4694d
Upgrade Netty to 4.1.93.Final (#3975)
lhotari May 31, 2023
79485f9
Fix journal without flush (#3979)
gaozhangmin Jun 6, 2023
07d3af6
Fix arbitrary file upload vulnerability with httpServerEnabled (#3982)
Shawyeok Jun 19, 2023
cec8551
Fix memory leak of direct memory. (#3983)
horizonzy Jun 13, 2023
306eaef
Unify ByteBufAllocator for the DirectIO component (#3985)
hangc0276 Jun 19, 2023
2038cf4
Upgrade snappy-java to address multiple CVEs (#3993)
lhotari Jun 20, 2023
9bfb4a9
Upgrade grpc and protobuf to address CVE-2023-32732 (#3992)
lhotari Jun 20, 2023
d3e4630
Make slogger use current class (#3994)
hangc0276 Jun 20, 2023
12d0721
Bump python client version to 4.16.2
zymap Jun 20, 2023
f548345
Bump version to 4.16.2-SNAPSHOT
zymap Jun 20, 2023
7fb5e9a
Fix issue with binary compatibility with older grpc versions at runti…
lhotari Jun 21, 2023
ad3fb70
[maven-release-plugin] prepare release v4.16.2-rc0
zymap Jun 21, 2023
d042bf7
[maven-release-plugin] rollback changes from release preparation of v…
zymap Jun 21, 2023
9f63cf7
[Branch-4.16] Downgrade grpc and protobuf to avoid introducing breaki…
zymap Jun 26, 2023
14dbfd2
Fix data lost when configured multiple ledger directories (#3329)
hangc0276 Jun 25, 2023
8b3f782
Fix trigger GC not work (#3998)
hangc0276 Jun 26, 2023
0465f7e
[maven-release-plugin] prepare release v4.16.2-rc1
zymap Jun 26, 2023
b45e10a
[maven-release-plugin] rollback changes from release preparation of v…
zymap Jun 26, 2023
a05688f
Bump to next version
zymap Jul 3, 2023
7240bde
Support skip invalid journal record in replying journal stage (#3956)
hangc0276 Jun 19, 2023
2060f9f
Change pendingDeletedLedgers as ConcurrentHashSet (#3989)
AnonHxy Jun 19, 2023
760644b
Upgrade Netty to 4.1.94.Final (#3999)
lhotari Jul 1, 2023
b519cf9
Recycle LongWrapper finally (#4007)
AnonHxy Jul 10, 2023
4c87a17
Fix deletedLedgers count (#4026)
AnonHxy Jul 21, 2023
e531fd1
Allow to set max operation numbers in a single rocksdb batch (#4044)
zymap Aug 14, 2023
15d310f
[release] Force to use linux/amd64 to build release (#4060)
zymap Aug 28, 2023
d2cacdd
Bump guava version from 31.0.1-jre to 32.0.1-jre (#4008)
Jul 3, 2023
762740c
Enable kv logs in log4j configuration (#3986)
hangc0276 Aug 29, 2023
25c5e7f
fix read write request leak when executor full. (#4024)
lifepuzzlefun Aug 29, 2023
e63f647
fix AutoCloseableLifecycleComponent close exception log (#4042)
AnonHxy Aug 29, 2023
4052dc0
Optimize getEntryLogMetadata (#3948)
gaozhangmin Aug 29, 2023
f8a0501
Make compatible between DefaultEntryLogger and DirectEntryLogger (#4041)
horizonzy Aug 30, 2023
ffa1564
Remove underreplicaiton callback (#4058)
horizonzy Aug 29, 2023
e7722b0
[maven-release-plugin] prepare release v4.16.3-rc0
zymap Aug 31, 2023
143bcbb
[maven-release-plugin] rollback changes from release preparation of v…
zymap Aug 31, 2023
5ca147b
[maven-release-plugin] prepare release v4.16.3-rc0
zymap Aug 31, 2023
520b065
[maven-release-plugin] rollback changes from release preparation of v…
zymap Aug 31, 2023
da21651
Bump version to 4.16.4-SNAPSHOT
zymap Sep 13, 2023
bdefd99
Bump python to 4.16.4-alpha-0
zymap Sep 13, 2023
35b02c3
cut branch-4.16
hangc0276 Oct 14, 2022
a9f882b
fix calculate checkSum when using Java9IntHash (#4140)
poorbarcode Dec 7, 2023
15c37b6
Chagne the method getUnderreplicatedFragments to the package private …
zymap Jan 10, 2024
a781a9e
Fix readEntry parameter order (#4059)
gaozhangmin Sep 1, 2023
e299efb
Print compaction progress (#4071)
hangc0276 Sep 12, 2023
ec7fb13
Fix NoSuchElementException when rereplicate empty ledgers (#4039)
chenhongSZ Sep 20, 2023
3bbfaa9
Ignore the empty `perRegionPlacement` when RegionAwareEnsemblePlaceme…
horizonzy Oct 18, 2023
5fb3440
Upgrade Zookeeper to 3.8.3 to address CVE-2023-44981 (#4112)
lhotari Oct 23, 2023
636d8a3
Upgrade bc-fips to 1.0.2.4 to fix CVE-2022-45146 (#3915)
hangc0276 Oct 26, 2023
d9a11ef
Fix bug of negative JournalQueueSize (#4077)
XLzed Oct 26, 2023
54f89e3
Remove the unused logs in the CleanupLedgerManager.recordPromise (#4121)
zymap Nov 1, 2023
be40e6b
Fix no known bookies after reset racks for all BKs (#4128)
poorbarcode Nov 20, 2023
2189d07
make waitForNewAuditor stronger. (#4078)
horizonzy Dec 4, 2023
31a2c05
Tune the test case (#4093)
horizonzy Dec 4, 2023
db6d997
issue 4109: Fix Flaky-test: HandleFailuresTest.testHandleFailureBooki…
AnonHxy Dec 4, 2023
1181e77
Fix a slow gc thread shutdown when compacting (#4127)
erobot Dec 4, 2023
5728250
Update Jetty dependency. (#4141)
Ghatage Dec 4, 2023
487c941
Use Flaky flag to skip testBookieServerZKSessionExpireBehaviour test …
hangc0276 Dec 7, 2023
15f764c
when setExplicitLac is called the ledgersCount should increased (#4138)
liubingxing Dec 11, 2023
82b3f7b
Fix auditor thread leak problem. (#4162)
horizonzy Dec 25, 2023
3c9f7b8
Fix the autorecovery failed replicate by add entry fenced error (#4163)
zymap Jan 8, 2024
0e375de
Skip sync the RocksDB when no changes (#3904)
hangc0276 Jan 8, 2024
7108cbc
Issue 4134: Fixing memory leak error when using DirectEntryLogger (#4…
graysonzeng Jan 8, 2024
e7187f6
fix LedgerHandle `ensembleChangeCounter` not used. (#4103)
lifepuzzlefun Jan 8, 2024
7875f15
Try to use jdk api to create hardlink when rename file when compactio…
lifepuzzlefun Jan 8, 2024
11a4020
Fix auditor elector executor block problem. (#4165)
horizonzy Jan 18, 2024
616da4f
Bump python client version to 4.16.4
hangc0276 Jan 18, 2024
16de712
[maven-release-plugin] prepare release v4.16.4-rc0
hangc0276 Jan 18, 2024
79b36af
[maven-release-plugin] rollback changes from release preparation of v…
hangc0276 Jan 18, 2024
1e89151
Fix checksum calculation bug when the payload is a CompositeByteBuf w…
lhotari Feb 9, 2024
b02ba56
[branch-4.16] Fix CI in branch-4.16 (#4206)
lhotari Feb 9, 2024
00538d1
Advance branch version (#4192)
hangc0276 Mar 21, 2024
017e711
[improve][docker] fix yaml and dockerfile (#4186)
zwOvO Jan 29, 2024
e104142
Issue 2161: set metrics endpoint content-type (#4208)
Mar 18, 2024
aa03dae
Bump org.apache.commons:commons-compress from 1.21 to 1.26.0 (#4214)
dependabot[bot] Mar 5, 2024
9359bc1
Fix uncontrolled data used in path expression (#4221)
hangc0276 Mar 4, 2024
081024a
Add filename check for unTar (#4222)
hangc0276 Mar 4, 2024
5959128
Fix error stack track may expose to external user (#4223)
hangc0276 Mar 4, 2024
dc326c0
Fix POM version
nicoloboschi Mar 21, 2024
8407f96
Simplify getting project version in release script (#4235)
lhotari Mar 21, 2024
cc124dc
Fix duplicate artifacts issue with maven-source-plugin in release bui…
lhotari Mar 21, 2024
222f42a
Improve release script instructions (#4236)
lhotari Mar 21, 2024
963a540
Issue 4200: fix flaky test DeferredSyncTest.testForceWillAdvanceLacOn…
tmzk1005 Mar 21, 2024
88844c7
Update python version to 4.16.5
nicoloboschi Mar 26, 2024
3160f96
[maven-release-plugin] prepare release v4.16.5-rc0
nicoloboschi Mar 27, 2024
67a5819
[maven-release-plugin] rollback changes from release preparation of v…
nicoloboschi Mar 27, 2024
a23b1a0
Fixed creation of temporary dir in NativeUtils (#4262)
merlimat Apr 3, 2024
7018e3a
[maven-release-plugin] prepare release v4.16.5-rc1
nicoloboschi Apr 3, 2024
3ad229c
[maven-release-plugin] rollback changes from release preparation of v…
nicoloboschi Apr 3, 2024
058cea2
[branch-4.16] Move version to 4.16.6-SNAPSHOT (#4276)
nicoloboschi Apr 11, 2024
a77458d
[fix] Fix ByteBuf release/retain in PerChannelBookClient (#4289)
poorbarcode Apr 17, 2024
3ef5eb9
Fix check style (#4302)
hangc0276 Apr 22, 2024
d86ca0b
Adjust Log Level for LedgerFencedException in WriteEntryProcessor (#4…
May 3, 2024
f0ec6b2
[fix] Fix ArrayIndexOut0fBoundsException caused by optimistic lock (#…
thetumbled Apr 28, 2024
6fb5a39
Bump jackson from 2.13.4.20221013 to 2.17.1 to address CVE list (#4345)
May 9, 2024
a71775c
Fix disk weight ensemble infinite loop bug (#4324)
hangc0276 May 11, 2024
d39e923
Skip mount command error (#4360)
yaalsn May 11, 2024
7d81552
Use vertx blockingHandlers that allow blocking without warnings (#4266)
lhotari Apr 8, 2024
38d433f
improve: change scheduleAtFixedRate to scheduleWithFixedDelay in Garb…
Apr 20, 2024
5fb19fe
fix: bookie http endpoint info always return 0.0.0.0 (#4325)
nicoloboschi Apr 30, 2024
2fa28a8
fix OrderedExecutor lost some metric (#4374)
TakaHiR07 May 25, 2024
eb4ce0e
fix guava shade error in distributedlog (#4319)
Apr 28, 2024
5813495
fix: miss test log in prometheus-metrics-provider module (#4279)
Apr 12, 2024
0fb6ab5
fix wrong implementation for `percentile` in bookkeeper-benchmark (#3…
trevor211 Apr 22, 2024
6ea6de7
Remove unused code from ByteBufVisitor (#4383)
lhotari May 24, 2024
e424a1a
fix: resource leak when JournalChannel is not fully initialized (#4340)
May 9, 2024
537eeab
Prevent bookie shutdown due to rest api when bookie prohibits readOnl…
wenbingshen Apr 29, 2024
b334d9f
Enhance the SimpleTestCommand test, make it cover more case. (#4387)
horizonzy May 25, 2024
29a74ac
fix: reference counting (retain/release) in PerChannelBookieClient (#…
lhotari May 27, 2024
3f2b88b
Fix ThreadRegistry#register behavior to ensure correct Prom metrics …
zhiheng123 May 28, 2024
504d206
Gbuild: remove tests module from owasp check (#4391) (#4401)
zhiheng123 May 28, 2024
aff2fb6
[branch-4.16] cherry-pick #4157 #4204 #4224 #4265 update netty and ve…
zhiheng123 May 28, 2024
6f30f00
Fix TLS stability issues with V2 protocol that caused data corruption…
lhotari May 29, 2024
5cbf981
Correct Configuration Error in OWASP Dependency Check Plugin Setup
May 30, 2024
f190b6a
Bump jetcd from 0.5.0 to 0.7.7 (#3849)
May 16, 2024
6f43c3e
test: update etcd build image version (#4429)
Jun 12, 2024
7efcbd2
Upgrade to Netty 4.1.111.Final and switch to use grpc-netty-shaded (#…
lhotari Jun 13, 2024
2923cac
[fix] fix Auditor ignoring bookies shut down before Auditor start (#4…
dlg99 Jun 5, 2024
a76dab9
Fix TimedRunnable log NPE (#4425)
AnonHxy Jun 10, 2024
4c1919a
fix: release build image error when user's home dir is under /home (#…
zhiheng123 Jun 12, 2024
e69dc98
Optimize Release Script for Docker Builds in BookKeeper (#4428)
Jun 12, 2024
06eca72
[maven-release-plugin] prepare release v4.16.6-rc0
zhiheng123 Jun 13, 2024
7a1e497
[maven-release-plugin] rollback changes from release preparation of v…
zhiheng123 Jun 13, 2024
cfb7a2e
[maven-release-plugin] prepare release v4.16.6-rc0
Jun 14, 2024
01ee2e3
[maven-release-plugin] rollback changes from release preparation of v…
Jun 14, 2024
fb23a79
[maven-release-plugin] prepare release v4.16.6-rc0
Jun 14, 2024
5dd1224
[maven-release-plugin] rollback changes from release preparation of v…
Jun 14, 2024
72aa9aa
[maven-release-plugin] prepare release v4.16.6-rc0
Jun 14, 2024
e3c902c
[maven-release-plugin] rollback changes from release preparation of v…
Jun 14, 2024
bfd8718
[maven-release-plugin] prepare release v4.16.6-rc0
Jun 14, 2024
2b530fa
[maven-release-plugin] rollback changes from release preparation of v…
Jun 14, 2024
c666461
Update python version to 4.16.6
Jun 26, 2024
31188c0
Bump branch-4.16 to 4.16.7-SNAPSHOT (#4454)
Jun 26, 2024
4e73837
Update Release Script Instructions and Python Publishing Scripts (#4458)
Jul 1, 2024
e0f23cf
[feature] [server] add dbStorage_readAheadCacheBatchBytesSize propert…
hangc0276 Jul 8, 2024
64d0b16
[Branch-4.16] Fix ReadOnlyLedgerHandle leak issue when checkAllLedger…
horizonzy Jul 31, 2024
8cc815e
Correct RackawareEnsemblePlacementPolicyImpl defaultRack when the boo…
horizonzy Jul 8, 2024
f51f584
Fix the completionObjects leak problem. (#4285)
horizonzy Jul 9, 2024
66e84ad
fix: install netcat-openbsd instead of netcat in test image build (#4…
Jul 29, 2024
0ce47aa
Change the new ensemble log to info level (#4566)
zymap Mar 19, 2025
fbd33b5
Fix SST files not being cleaned up in the locations folder (#4555)
danpi Apr 1, 2025
47c3fc3
fix: fix resource leaks in 3 classes (#4449)
dk2k Jul 6, 2024
6fbc3c0
Enable ZooKeeper client to establish connection in read-only mode (#4…
massakam Jul 10, 2024
a05bc53
Allocator support exitOnOutOfMemory config. (#3984)
horizonzy Jul 15, 2024
8996ccd
[fix][ci] Fix OWASP Dependency Check download by using NVD API key (#…
Jul 29, 2024
3b06ecf
fix[rocksdb]: fix error rocksdb default config for CFOptions (#4466)
AuroraTwinkle Jul 20, 2024
697ff57
Set default format_version to 5 for RocksDB databases (#4480)
lhotari Aug 16, 2024
9bc90b4
when failed to choose a bookie, print out the list of ensemble. (#4482)
liudezhi2098 Aug 20, 2024
818a37a
Upgrade to Netty 4.1.113.Final and netty-tcnative 2.0.66.Final (#4502)
lhotari Sep 12, 2024
93118aa
[fix] Fix data lost after when writing ledger and deleting legder exe…
poorbarcode Sep 13, 2024
b9c567c
Upgrade protobuf to 3.25.5 to address CVE-2024-7254 (#4508)
lhotari Sep 25, 2024
33a1985
Optimize reorderReadSequence to check WriteSet instead of entire Ense…
ange-k Nov 13, 2024
7cba2a6
Upgrade Zookeeper to 3.9.3 to address CVE-2024-51504 (#4523)
lhotari Nov 13, 2024
48bcef7
Upgrade to Netty 4.1.115.Final to address CVE-2024-47535 (#4524)
lhotari Nov 19, 2024
d1a3bc6
chore: remove docker tuning from tune-runner-vm action (#4536)
equanz Dec 20, 2024
baffa34
Bump vertx.version from 4.5.7 to 4.5.11 to address CVE-2024-8391 (#4545)
hezhangjian Jan 10, 2025
e46da06
Add documentation to bk_server.conf about RocksDB config (#4561)
lhotari Apr 1, 2025
b00d2e0
Ensure that formatVersion is specified for all RocksDB dbs (#4559)
lhotari Apr 1, 2025
a18dc64
Improve locating config files (#4560)
lhotari Apr 2, 2025
84ca507
Reduce metadataLock contention in LedgerHandle (#4549)
lifepuzzlefun Apr 16, 2025
2182932
Upgrade Netty to 4.1.119, tcnative to 2.0.70 and io_uring to 0.0.26 (…
lhotari Apr 16, 2025
a01aa11
Upgrade Apache Commons libraries to compatible versions (#4582)
lhotari Apr 16, 2025
3795f55
Fix the coredump that occurs when calling KeyValueStorageRocksDB.coun…
zhaizhibo Apr 17, 2025
82171ba
Improve auto-recovery noise log when some bookie down. (#4118)
horizonzy Jan 10, 2024
9877db9
[cli] Fix: recover command doesn't accept rate limit parameter (#4535)
dlg99 Feb 14, 2025
c9dc52a
Upgrade Netty to 4.1.121.Final (#4597)
lhotari Apr 27, 2025
f0c406b
Fix check read failed entry memory leak issue. (#4513)
horizonzy May 28, 2025
52d779a
Fix the data loss issue that caused by the wrong entry log header (#4…
zymap May 30, 2025
f507b1c
Fix region aware placement policy disk weight dose not update. (#4522)
dragonls Feb 14, 2025
857959e
remove in address2Region while bookie left to get correct rack info (…
ethqunzhong Feb 15, 2025
804b2b6
[fix] Write stuck due to pending add callback by multiple threads (#4…
poorbarcode May 14, 2025
3bceb37
fix branch-4.16 ci (#4612)
hangc0276 Jun 5, 2025
0d31202
fix pendingDeletedLedgers do not remove ledger error (#4525)
TakaHiR07 Feb 14, 2025
065b9fe
Adjust DNS cache expiration in tests to reduce test timeout failures …
lhotari Apr 22, 2025
cda3c6b
Upgrade Jetty to 9.4.57.v20241219 to address CVE-2024-6763 (#4600)
lhotari May 6, 2025
8e0d75a
Update python version to 4.16.7
StevenLuMT Jun 18, 2025
c39dcef
[maven-release-plugin] prepare release v4.16.7-rc0
StevenLuMT Jun 20, 2025
0efca25
[maven-release-plugin] rollback changes from release preparation of v…
StevenLuMT Jun 20, 2025
9f79c71
[maven-release-plugin] prepare release v4.16.7-rc0
StevenLuMT Jun 23, 2025
dd1442b
[maven-release-plugin] rollback changes from release preparation of v…
StevenLuMT Jun 23, 2025
aea1fea
[maven-release-plugin] prepare release v4.16.7-rc0
StevenLuMT Jun 24, 2025
b086540
[maven-release-plugin] rollback changes from release preparation of v…
StevenLuMT Jun 24, 2025
add6808
fix cherry-pick: Upgrade Jetty to 9.4.57.v20241219 to address CVE-202…
StevenLuMT Jul 7, 2025
951d956
Bump branch-4.16 to 4.16.8-SNAPSHOT (#4629)
StevenLuMT Jul 7, 2025
7733db1
Fix: Garbage collection stuck on corrupt entry log file (#4544)
dlg99 Feb 13, 2025
35b8f13
Log all the error in the GarbageCollectorThread (#4649)
zymap Aug 12, 2025
2b2661d
[fix]Wrong error code(-107) of opening a deleted ledger (#4657)
poorbarcode Sep 2, 2025
c398379
[fix]BK stays at read_only state even if the disk is empty (#4640)
poorbarcode Sep 17, 2025
dd0ed9d
Bring back the old public method name (#4682)
zymap Nov 24, 2025
979958d
Add BufferedChannel partial flush corruption reproducer
Jul 30, 2026
200818f
fix: fail closed after buffered entrylog write failure
Aug 4, 2026
17042aa
fix: fail closed on entry log flush failure
Aug 4, 2026
4058ab5
test: add e2e coverage for entry log flush failure
Aug 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .dlc.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
},
{
"pattern": "^http://daxue.qq.com/content/content/id/2492"
},
{
"pattern": "^https://calendar.google.com/"
},
{
"pattern": "^#"
},
{
"pattern": ".*\\{\\{.*"
},
{
"pattern": "^//"
}
],
"timeout": "10s",
Expand Down
57 changes: 57 additions & 0 deletions .github/actions/clean-disk/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

name: clean disk
description: makes some more space available on the disk by removing files
inputs:
mode:
description: "Use 'full' to clean as much as possible"
required: false
runs:
using: composite
steps:
- run: |
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
directories=(/usr/local/lib/android /opt/ghc)
if [[ "${{ inputs.mode }}" == "full" ]]; then
# remove these directories only when mode is 'full'
directories+=(/usr/share/dotnet /opt/hostedtoolcache/CodeQL)
fi
emptydir=/tmp/empty$$/
mkdir $emptydir
echo "::group::Available diskspace"
time df -BM / /mnt
echo "::endgroup::"
for directory in "${directories[@]}"; do
echo "::group::Removing $directory"
# fast way to delete a lot of files on linux
time sudo eatmydata rsync -a --delete $emptydir ${directory}/
time sudo eatmydata rm -rf ${directory}
time df -BM / /mnt
echo "::endgroup::"
done
echo "::group::Cleaning apt state"
time sudo bash -c "apt-get clean; apt-get autoclean; apt-get -y --purge autoremove"
time df -BM / /mnt
echo "::endgroup::"
fi
echo "::group::Available diskspace"
time df -BM / /mnt
echo "::endgroup::"
shell: bash
66 changes: 65 additions & 1 deletion .github/actions/tune-runner-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,72 @@ runs:
steps:
- run: |
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "::group::Configure and tune OS"
# Ensure that reverse lookups for current hostname are handled properly
# Add the current IP address, long hostname and short hostname record to /etc/hosts file
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts

# The default vm.swappiness setting is 60 which has a tendency to start swapping when memory
# consumption is high.
# Set vm.swappiness=1 to avoid swapping and allow high RAM usage
echo 1 | sudo tee /proc/sys/vm/swappiness
(
shopt -s nullglob
# Set swappiness to 1 for all cgroups and sub-groups
for swappiness_file in /sys/fs/cgroup/memory/*/memory.swappiness /sys/fs/cgroup/memory/*/*/memory.swappiness; do
echo 1 | sudo tee $swappiness_file > /dev/null
done
) || true

# use "madvise" Linux Transparent HugePages (THP) setting
# https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html
# "madvise" is generally a better option than the default "always" setting
# Based on Azul instructions from https://docs.azul.com/prime/Enable-Huge-Pages#transparent-huge-pages-thp
echo madvise | sudo tee /sys/kernel/mm/transparent_hugepage/enabled
echo advise | sudo tee /sys/kernel/mm/transparent_hugepage/shmem_enabled
echo defer+madvise | sudo tee /sys/kernel/mm/transparent_hugepage/defrag
echo 1 | sudo tee /sys/kernel/mm/transparent_hugepage/khugepaged/defrag

# tune filesystem mount options, https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
# commit=999999, effectively disables automatic syncing to disk (default is every 5 seconds)
# nobarrier/barrier=0, loosen data consistency on system crash (no negative impact to empheral CI nodes)
sudo mount -o remount,nodiscard,commit=999999,barrier=0 / || true
sudo mount -o remount,nodiscard,commit=999999,barrier=0 /mnt || true
# disable discard/trim at device level since remount with nodiscard doesn't seem to be effective
# https://www.spinics.net/lists/linux-ide/msg52562.html
for i in /sys/block/sd*/queue/discard_max_bytes; do
echo 0 | sudo tee $i
done
# disable any background jobs that run SSD discard/trim
sudo systemctl disable fstrim.timer || true
sudo systemctl stop fstrim.timer || true
sudo systemctl disable fstrim.service || true
sudo systemctl stop fstrim.service || true

# stop php-fpm
sudo systemctl stop php8.0-fpm.service || true
sudo systemctl stop php7.4-fpm.service || true
# stop mono-xsp4
sudo systemctl disable mono-xsp4.service || true
sudo systemctl stop mono-xsp4.service || true
sudo killall mono || true

# stop Azure Linux agent to save RAM
sudo systemctl stop walinuxagent.service || true
echo '::endgroup::'

# show memory
echo "::group::Available Memory"
free -m
echo '::endgroup::'
# show disk
echo "::group::Available diskspace"
df -BM
echo "::endgroup::"
# show cggroup
echo "::group::Cgroup settings for current cgroup $CURRENT_CGGROUP"
CURRENT_CGGROUP=$(cat /proc/self/cgroup | grep '0::' | awk -F: '{ print $3 }')
sudo cgget -a $CURRENT_CGGROUP || true
echo '::endgroup::'
fi
shell: bash
shell: bash
Loading