Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] [broker] Fix cursor recover ignored batch ack index #23

Open
wants to merge 982 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
982 commits
Select commit Hold shift + click to select a range
ca64505
[fix] [broker] broker log a full thread dump when a deadlock is detec…
yyj8 Jun 20, 2024
36bae69
[feat][broker] PIP-321 Introduce allowed-cluster at the namespace lev…
liangyepianzhou Jun 20, 2024
ada47a3
[fix][fn] Support compression type and crypto config for all producer…
lhotari Jun 20, 2024
82b8d98
[fix][broker] Check the markDeletePosition and calculate the backlog …
nodece Jun 20, 2024
6692bc8
[cleanup][misc] Remove classifier from netty-transport-native-unix-co…
lhotari Jun 20, 2024
1517e63
[improve][misc] Set Alpine base image to 3.20 instead of 3.19.1 (#22941)
lhotari Jun 21, 2024
ddb03bb
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
lhotari Jun 21, 2024
263c694
[improve] [broker] make system topic distribute evenly. (#22953)
thetumbled Jun 24, 2024
10eeacc
[fix][ci] Replace removed macos-11 with macos-latest in GitHub Action…
lhotari Jun 24, 2024
f728b2e
[improve][misc] Replace rename-netty-native-libs.sh script with renam…
lhotari Jun 24, 2024
c78585a
[improve][misc] Upgrade Bookkeeper to 4.17.1 (#22962)
lhotari Jun 24, 2024
aa03c0e
[fix][ci] Fix jacoco code coverage report aggregation (#22964)
lhotari Jun 24, 2024
69b2739
[fix][client] Fix orphan consumer when reconnection and closing are c…
poorbarcode Jun 25, 2024
6fe8100
[improve][fn] Make producer cache bounded and expiring in Functions/C…
lhotari Jun 25, 2024
1c44fbb
[fix][broker] Fix updatePartitionedTopic when replication at ns level…
lhotari Jun 25, 2024
7dba98b
[improve][build] Use amazoncorretto:21-alpine image instead of apk in…
nodece Jun 25, 2024
f323342
[feat][broker] PIP-264: Add OpenTelemetry broker replicator metrics (…
dragosvictor Jun 25, 2024
2da4ee8
[revert] "[improve][broker] Optimize `ConcurrentOpenLongPairRangeSet`…
lhotari Jun 25, 2024
20eb3c6
[fix][doc] Fix the doc for the message redelivery backoff (#22855)
RobertIndie Jun 26, 2024
2c6fcc7
[fix][broker] Partitioned shadow topic not work properly (#22797)
RobertIndie Jun 26, 2024
243ad5a
[feat][broker] PIP-264: Add OpenTelemetry metadata store stats (#22952)
dragosvictor Jun 26, 2024
fe726db
[feat][broker] PIP-264: Add managed ledger cache metrics (#22898)
dragosvictor Jun 26, 2024
53df683
[fix][broker] Ensure that PulsarService is ready for serving incoming…
lhotari Jun 26, 2024
4ac9bc4
[improve] [pip] PIP-364: Introduce a new load balance algorithm AvgSh…
thetumbled Jun 27, 2024
4e535cb
[feat][broker] PIP-264: Add transaction metrics (#22970)
dragosvictor Jun 27, 2024
7f4c0c5
[Fix][broker] Limit replication rate based on bytes (#22674)
nodece Jun 28, 2024
4c84788
[improve][broker] Improve exception for topic does not have schema to…
shibd Jul 1, 2024
da2a191
[fix][broker] Fix broker OOM when upload a large package. (#22989)
shibd Jul 2, 2024
dbbb6b6
[fix] Make operations on `individualDeletedMessages` in lock scope (#…
dao-jun Jul 3, 2024
e4390d3
[fix][test] Update OpenTelemetry receiver endpoint in integration tes…
dragosvictor Jul 3, 2024
f4d1d05
[feat][broker] PIP-264: Add OpenTelemetry managed ledger metrics (#22…
dragosvictor Jul 3, 2024
deb26f7
[fix][broker] Can't connecte to non-persist topic when enable broker …
shibd Jul 3, 2024
2086cc4
[improve][pip] PIP-337: SSL Factory Plugin to customize SSL Context a…
Apurva007 Jul 4, 2024
8b7754f
[fix][ci] Fix OWASP Dependency Check download by using NVD API key (#…
lhotari Jul 4, 2024
dd1b579
[feat][misc] PIP-264: Copy OpenTelemetry resource attributes to Prome…
dragosvictor Jul 5, 2024
8351c07
[feat][broker] PIP-264: Add OpenTelemetry managed cursor metrics (#23…
dragosvictor Jul 5, 2024
41ef3f6
[fix][broker] Fix MessageDeduplication replay timeout cause topic loa…
TakaHiR07 Jul 5, 2024
ed39c4d
[improve][broker] Use RoaringBitmap in tracking individual acks to re…
lhotari Jul 6, 2024
17e3f86
[fix][broker] PulsarStandalone started with error if --stream-storage…
zhouyifan279 Jul 8, 2024
32e29a3
[fix][misc] Remove RoaringBitmap dependency from pulsar-common (#23008)
lhotari Jul 8, 2024
7924f9c
[improve][build] Upgrade dependency-check-maven-plugin to 10.0.2 (#23…
lhotari Jul 8, 2024
9626e7e
[fix][client] Fix pattern consumer create crash if a part of partitio…
poorbarcode Jul 9, 2024
b473a7b
[improve][broker] log exception in MessageDeduplication#takeSnapshot …
TakaHiR07 Jul 9, 2024
1f34497
[fix][admin] Fix half deletion when attempt to topic with a incorrect…
poorbarcode Jul 10, 2024
7c0e827
[fix][broker]Fix lookupService.getTopicsUnderNamespace can not work w…
poorbarcode Jul 10, 2024
c160cc9
[improve] [pip] PIP-364: Introduce a new load balance algorithm AvgSh…
thetumbled Jul 11, 2024
88ebe78
[fix][broker] Fix stuck when enable topic level replication and build…
poorbarcode Jul 15, 2024
a8ce990
[fix][broker] Replication stuck when partitions count between two clu…
poorbarcode Jul 15, 2024
5c6602c
[improve][pip] PIP-359: Support custom message listener executor for …
AuroraTwinkle Jul 16, 2024
23163f9
[feat][ws]Add support for initialSubscriptionPosition in Websocket Co…
moinessim Jul 16, 2024
aa757ac
[improve][proxy] Add debug logs for proxy cnx management (#23037)
rdhabalia Jul 16, 2024
fe5dafd
[fix][test]Fix flaky test increase the delay time (#23046)
congbobo184 Jul 17, 2024
e51d3e2
[fix] Upgrade to Oxia 0.3.1 (#23048)
merlimat Jul 17, 2024
59136a0
[feat][misc] PIP-264: Add OpenTelemetry HTTP rate limiting filter met…
dragosvictor Jul 17, 2024
d7e8ea1
[fix][broker] Introduce the last sent position to fix message orderin…
equanz Jul 19, 2024
d08e2e0
[improve][io] The JDBC connector supports JSON substructure schema (#…
shibd Jul 21, 2024
c50f4af
[fix] [broker] fix compile error for PersistentStickyKeyDispatcherMul…
poorbarcode Jul 21, 2024
3e4f338
[improve] [broker] high CPU usage caused by list topics under namespa…
poorbarcode Jul 22, 2024
3ed37af
[improve][broker] don't do load shedding when metadata service not av…
congbobo184 Jul 22, 2024
6fa3bcf
[improve][broker] GetPartitionMetadata fail also can produce messages…
congbobo184 Jul 22, 2024
81aed6c
[improve] [broker] Improve CPU resources usege of TopicName Cache (#2…
poorbarcode Jul 22, 2024
fca9c5c
[improve][client] Add exception handle for client send error (#23038)
congbobo184 Jul 23, 2024
c9c5bb4
[feat][misc] PIP-264: Add OpenTelemetry messaging rate limit metrics …
dragosvictor Jul 23, 2024
1c53841
[fix][broker] Handle BucketDelayedDeliveryTracker recover failed (#22…
dao-jun Jul 24, 2024
38a5e91
[fix] Fix compile failing (#23070)
dao-jun Jul 24, 2024
55e468e
[fix][broker] Do not try to clean owned bundles from inactive source …
heesung-sn Jul 24, 2024
c7310e3
[improve] [broker] Add subscription prefix for internal reader (#23044)
hangc0276 Jul 25, 2024
47f204f
[improve][pip] PIP-366: Support to specify different config for Confi…
Demogorgon314 Jul 26, 2024
d4bbf10
[fix][client] Fix negative acknowledgement by messageId (#23060)
izumo27 Jul 29, 2024
e59cd05
[fix] [broker] Remove blocking calls from Subscription.getStats (#23088)
poorbarcode Jul 29, 2024
679a3d4
[improve] [broker] Check max producers/consumers limitation first bef…
poorbarcode Jul 29, 2024
76ed555
[improve][build] Upgrade docker-maven-plugin to 0.45.0 (#23091)
nodece Jul 29, 2024
a0bdf45
[improve][ci] Switch to use DEVELOCITY_ACCESS_KEY from GRADLE_ENTERPR…
lhotari Jul 29, 2024
40c8c23
[improve][broker] Reduce the CPU pressure from the transaction buffer…
BewareMyPower Jul 29, 2024
77b6378
[improve][broker] Optimize the performance of individual acknowledgme…
shibd Jul 29, 2024
49d3beb
[improve][broker] Support to specify auth-plugin, auth-parameters and…
Demogorgon314 Jul 29, 2024
b955c65
[fix] [broker] Internal reader of __change_events can not started aft…
poorbarcode Jul 29, 2024
47d35a0
[improve][build] Move docker-push profile to submodule (#23093)
nodece Jul 29, 2024
19fe2e4
[cleanup][broker] Remove PersistentSubscription.getStats (#23095)
nodece Jul 30, 2024
6bbaec1
[fix][client] TransactionCoordinatorClient support retry (#23081)
chenhongSZ Jul 30, 2024
5aa5e7d
[fix] [broker] fix replicated namespaces filter in filterAndUnloadMat…
iosdev747 Jul 31, 2024
c249530
[improve][broker]Reuse method getAvailableBrokersAsync (#23099)
crossoverJie Jul 31, 2024
9d0292e
[improve][pip] PIP-352: Event time based topic compactor (#22710)
marekczajkowski Jul 31, 2024
92bcd07
[fix][broker]: fix irregular method name (#23108)
AuroraTwinkle Jul 31, 2024
f02ce6c
[fix][broker] fix exception may hidden and result in stuck when topic…
TakaHiR07 Aug 2, 2024
12588a8
[fix][broker] type cast on exceptions in exceptionally can lead to lo…
shibd Aug 2, 2024
f3c177e
[fix][client] the nullValue in msgMetadata should be true by default …
liangyepianzhou Aug 3, 2024
76f16e8
[improve][pip] PIP-366: Support to specify different config for Confi…
Demogorgon314 Aug 5, 2024
0e66547
[fix][broker] Fix authenticate order in AuthenticationProviderList (#…
coderzc Aug 5, 2024
e9deb40
[improve][misc] Improve AES-GCM cipher performance (#23122)
ocadaruma Aug 5, 2024
6dd7c59
[fix][test] Fixed many tests of pulsar-proxy are not running (#23118)
equanz Aug 5, 2024
10f4e02
[improve][client]PIP-359:Support custom message listener executor for…
AuroraTwinkle Aug 5, 2024
114880b
[fix][broker]A failed consumer/producer future in ServerCnx can never…
poorbarcode Aug 6, 2024
4a44f45
[fix][broker] Handle the case when `getOwnedServiceUnits` fails grace…
Demogorgon314 Aug 6, 2024
1db3c5f
[improve][misc] Optimize TLS performance by omitting extra buffer cop…
lhotari Aug 6, 2024
b7440e9
[improve][pip] PIP-368: Support lookup based on the lookup properties…
RobertIndie Aug 7, 2024
3b01c96
[fix][client] Fix timeout handling in Pulsar Admin client (#23128)
lhotari Aug 7, 2024
175ea00
[fix][build] Remove unnecessary Oracle maven repository from pom.xml …
lhotari Aug 7, 2024
8707fbe
[improve][fn] Add support for overriding additionalJavaRuntimeArgumen…
lhotari Aug 7, 2024
3560ddb
[fix][broker] Fix the bug that elected leader thinks it's a follower …
heesung-sn Aug 8, 2024
3e7dbb4
[improve][client] Add maxConnectionsPerHost and connectionMaxIdleSeco…
lhotari Aug 8, 2024
f4a8094
[fix][metadata] Upgrade Oxia to 0.3.2 (#23140)
mattisonchao Aug 8, 2024
4824df5
[improve][doc] Add Pulsar Geo-Replication considerations to the PIP t…
lhotari Aug 9, 2024
6f5c656
[improve][build] Bump version to 4.0.0-SNAPSHOT (#23146)
lhotari Aug 9, 2024
702c0b3
[fix] [broker] Fix compatibility issues for PIP-344 (#23136)
poorbarcode Aug 10, 2024
1b43b9d
[improve][broker] Explicitly close LB internal topics when playing a …
heesung-sn Aug 10, 2024
38134bc
[fix] [meta] Oxia metadta store: Convert error to MetadataStoreExcept…
poorbarcode Aug 12, 2024
2dde403
[fix] [broker] Let Pending ack handler can retry to init when encount…
poorbarcode Aug 12, 2024
06a2f5c
[improve] [client]Add new ServiceUrlProvider implementation: SameAuth…
poorbarcode Aug 12, 2024
66cc754
[fix][broker] Fix AvgShedder strategy check (#23156)
Demogorgon314 Aug 13, 2024
9bf714f
[fix][broker] Fix 'Disabled replicated subscriptions controller' logi…
hanmz Aug 13, 2024
fe21441
[improve] [pip] PIP-363: Add callback parameters to the method: org.a…
crossoverJie Aug 13, 2024
3e461c0
[improve][proxy] Reuse authentication instance in pulsar-proxy (#23113)
equanz Aug 14, 2024
c07b158
[fix][client] Fix for early hit `beforeConsume` for MultiTopicConsume…
coderzc Aug 14, 2024
a025938
[fix][client] Create the retry producer async (#23157)
omarkj Aug 14, 2024
d5ce1ce
[improve] [broker] Avoid subscription fenced error with consumer.seek…
poorbarcode Aug 14, 2024
606b6a7
[fix] [test] Revert the modification to NonDurableSubscriptionTest ca…
poorbarcode Aug 14, 2024
ce38ee2
[improve][pip] PIP-369: Flag based selective unload on changing ns-is…
iosdev747 Aug 14, 2024
15b88d2
[fix][broker] Fix shadow topics cannot be consumed when the entry is …
BewareMyPower Aug 15, 2024
46c25ac
[fix] DLQ to handle bytes key properly (#23172)
dlg99 Aug 15, 2024
1f90897
[improve] [pip] PIP-370: configurable remote topic creation in geo-re…
poorbarcode Aug 16, 2024
67fc5b9
[fix][client] Copy orderingKey to retry letter topic and DLQ messages…
lhotari Aug 16, 2024
3ada566
[feat] Add scripts for updating BK RocksDB ini files (#23178)
lhotari Aug 16, 2024
b6815d2
[fix][sec]Upgrade jackson to 2.17.2 (#23174)
hrsakai Aug 16, 2024
a1f3322
[fix][test] Fix flaky SubscriptionSeekTest.testSeekIsByReceive (#23170)
lhotari Aug 16, 2024
7f04364
[improve][broker] Support customized shadow managed ledger implementa…
BewareMyPower Aug 16, 2024
3053b64
[improve][broker] Should notify bundle ownership listener onLoad even…
Demogorgon314 Aug 16, 2024
576666d
[improve][misc] Set format_version=5, checksum=kxxHash in Bookkeeper …
lhotari Aug 16, 2024
73433cd
[improve] [broker] Optimize performance for checking max topics when …
poorbarcode Aug 17, 2024
aa8226f
[fix][broker] Skip reading entries from closed cursor. (#22751)
dao-jun Aug 17, 2024
9edaa85
[fix] [broker] Topic can never be loaded up due to broker maintains a…
poorbarcode Aug 18, 2024
2d46bfa
[improve] PIP-337: Implement SSL Factory Plugin to customize SSL Cont…
Apurva007 Aug 20, 2024
acc463f
[cleanup][broker] delete ConcurrentSortedLongPairSet. (#23202)
thetumbled Aug 20, 2024
94e1341
[improve][broker] Optimize high CPU usage when consuming from topics …
coderzc Aug 20, 2024
a605ea3
[cleanup] Cleanup some duplicated code (#23204)
zymap Aug 20, 2024
18cb458
[improve][broker] Add callback parameters to the SendCallback.sendCom…
crossoverJie Aug 21, 2024
b661ec8
[improve][broker] Improve pulsar_topic_load_failed metric to record c…
TakaHiR07 Aug 21, 2024
66e1a06
[improve][client] Don't print info logs for each schema loaded by cli…
BewareMyPower Aug 21, 2024
0a5cb51
[fix] [log] Do not print warn log when concurrently publishing and sw…
poorbarcode Aug 22, 2024
44f9860
[improve] [broker] Phase 1 of PIP-370 support disable create topics o…
poorbarcode Aug 23, 2024
1c495e1
[feat] PIP-352: Event time based compaction (#22517)
marekczajkowski Aug 23, 2024
09a16c2
[improve] [broker] Part 2 of PIP-370: add metrics "pulsar_replication…
poorbarcode Aug 26, 2024
a6029ad
[cleanup][test]delete invalid method in PrometheusMetricsTest (#23218)
guan46 Aug 26, 2024
cd3519a
[fix] StatsOutputStream: add string write function (#308) (#23227)
dlg99 Aug 26, 2024
d9bd6b0
[improve][broker]Change the log level to reduce repeated error logs (…
rayluoluo Aug 27, 2024
9a97c84
[feat][broker] PIP-368: Support lookup based on the lookup properties…
RobertIndie Aug 28, 2024
325c6a5
[fix][broker] Fix thread unsafe access on the bundle range cache for …
BewareMyPower Aug 28, 2024
e2bbb4b
[improve][txn] Take first snapshot before persisting the first transa…
liangyepianzhou Aug 29, 2024
587af85
[feat][misc] PIP-264: Add OpenTelemetry authentication and token metr…
dragosvictor Aug 29, 2024
59424a8
[improve][broker] Add msgInReplay subscription stat and metric to imp…
lhotari Aug 29, 2024
d98e51f
[improve][broker] Reschedule reads with increasing backoff when no me…
lhotari Aug 29, 2024
dccc06b
[fix][broker] support peek-message for compressed and encrypted messa…
rdhabalia Aug 30, 2024
ed14f21
[feat][broker] PIP-264: Add replication subscription stats (#23026)
dragosvictor Aug 30, 2024
3a59e4c
[fix][client] Fix client to handle permits for discarded and failed d…
rdhabalia Aug 30, 2024
8da3bf8
[improve][admin] PIP-369 Introduce `unload` flag in `ns-isolation-pol…
grssam Sep 1, 2024
019ae9f
[improve][admin] Improve BrokerStats.allocatorStats (#23242)
dao-jun Sep 2, 2024
aee2ee5
[fix][broker] Fix brokers still retry start replication after closed …
poorbarcode Sep 2, 2024
a678e97
[fix][test] Fix flaky UnloadSubscriptionTest.testMultiConsumer (#23243)
hanmz Sep 2, 2024
8bb30a1
[improve][broker] Add retry for start service unit state channel (Ext…
Demogorgon314 Sep 4, 2024
de68e25
[improve][broker] Optimize message payload traffic for ShadowReplicat…
RobertIndie Sep 5, 2024
a28c0df
[improve][misc] Upgrade Netty to 4.1.113 and netty-tcnative to 2.0.66…
lhotari Sep 5, 2024
6c300f5
[fix][broker] Add principal name into info log to enhance analysis an…
rdhabalia Sep 5, 2024
246647f
[fix][client] Fix client handle unknown exception during message-decr…
rdhabalia Sep 6, 2024
1439529
[fix][client] Fix concurrent lookup with properties might have differ…
BewareMyPower Sep 6, 2024
ca0fb44
[fix][broker] Execute the pending callbacks in order before ready for…
BewareMyPower Sep 8, 2024
46f99b9
[improve][broker] Make cluster metadata init command support metadata…
Demogorgon314 Sep 9, 2024
0aaa906
[fix][broker] fix pulsar-admin topics stats-internal caused a BK clie…
poorbarcode Sep 9, 2024
21e256f
[fix][client] Fix broker/Client CPU reaching 100% during retriable co…
rdhabalia Sep 9, 2024
96fd04b
[fix] Bump io.grpc from 1.56.0 to 1.56.1 (#23276)
mattisonchao Sep 10, 2024
a96127a
[feat][meta] Bump oxia java version from 0.3.2 to 0.4.5 (#23277)
mattisonchao Sep 10, 2024
d4839fb
[fix][broker] fix the log format error in the AdminResource (#23278)
RobertIndie Sep 11, 2024
a8ae3e4
[improve][pip] PIP-376: Make topic policies service pluggable (#23248)
BewareMyPower Sep 11, 2024
8151639
[fix][broker] Fix retry backoff for PersistentDispatcherMultipleConsu…
lhotari Sep 11, 2024
fc0e4e3
[fix] [broker] Fix system topic can not be loaded up if it contains d…
poorbarcode Sep 11, 2024
5599699
[improve][pip] PIP-374: Visibility of messages in receiverQueue for t…
touchkey Sep 12, 2024
fc60ec0
[fix][broker] Fail fast if the extensible load manager failed to star…
BewareMyPower Sep 13, 2024
13c19b5
[improve][broker] Register the broker to metadata store without versi…
BewareMyPower Sep 13, 2024
4f96146
[improve][broker] Reducing the parse of MessageMetadata in compaction…
aloyszhang Sep 14, 2024
9ebd979
[improve][broker] Decouple ManagedLedger interfaces from the current …
lhotari Sep 17, 2024
2e98736
[feat][client] PIP-374: Visibility of messages in receiverQueue for t…
shibd Sep 17, 2024
590e133
[improve][pip] PIP-378 Add ServiceUnitStateTableView abstraction (Ext…
heesung-sn Sep 17, 2024
4f00259
[improve][admin] PIP-369 Change default value of `unload-scope` in `n…
grssam Sep 18, 2024
bf53164
[improve] Upgrade opensearch sink to client 2.16 and tests to use ser…
dlg99 Sep 18, 2024
77570d5
[improve][broker] Add limits for Key_Shared Subscription look ahead i…
lhotari Sep 18, 2024
a875deb
[fix][io] Upgrade mssql server docker tag in DebeziumMsSqlContainer (…
lhotari Sep 19, 2024
d4261d2
[improve][broker] Don't use "recently joined consumers" rules for Key…
lhotari Sep 19, 2024
03330b3
[fix][broker] Fix incomplete NAR file extraction which prevents broke…
nikhilerigila09 Sep 19, 2024
4b3b273
[improve][broker] PIP-376: Make topic policies service pluggable (#23…
BewareMyPower Sep 19, 2024
105192d
[fix][broker] Fix topic policies cannot be queried with extensible lo…
BewareMyPower Sep 20, 2024
c2a0090
[improve][broker] Add ServiceUnitStateTableView (ExtensibleLoadManage…
heesung-sn Sep 20, 2024
f5c1ad2
[improve][broker] Replace ConcurrentOpenHashMap with ConcurrentHashMa…
BewareMyPower Sep 21, 2024
1ce7855
[improve][broker] Replace ConcurrentOpenHashMap with ConcurrentHashMa…
BewareMyPower Sep 21, 2024
9012422
[improve][broker] Remove ConcurrentOpenHashMap and ConcurrentOpenHash…
BewareMyPower Sep 23, 2024
216b830
[fix][test] Fix flaky test LeaderElectionTest.revalidateLeaderWithinS…
nikam14 Sep 23, 2024
7d4ac9d
[fix][build] Fix problem where git.commit.id.abbrev is missing in ima…
lhotari Sep 23, 2024
501dfde
[fix][sec] Upgrade vertx to 4.5.10 to address CVE-2024-8391 (#23338)
lhotari Sep 23, 2024
4ce0c75
[fix] Key_Shared mode consumption latency when low traffic (#23340)
poorbarcode Sep 23, 2024
5ea4252
[fix][broker] Avoid introducing delay when there are delayed messages…
lhotari Sep 25, 2024
cefa72c
[improve][schema] Improve Incompatible Schema Exception error message…
nikam14 Sep 25, 2024
31f27a0
[fix][cli] Fix Pulsar-Client to allow consume encrypted messages with…
rdhabalia Sep 25, 2024
b1c5d96
[fix][cli] Fix Pulsar-Client CLI to print metadata of message includi…
rdhabalia Sep 25, 2024
5583102
[fix] [log] Do not print error log if tenant/namespace does not exist…
poorbarcode Sep 27, 2024
e91574a
[fix][broker] Fix unloadNamespaceBundlesGracefully can be stuck with …
BewareMyPower Sep 27, 2024
95bd1d1
[fix][broker] Fix the broker registery cannot recover from the metada…
BewareMyPower Sep 27, 2024
ca4a743
[fix][build] Disable flaky test BrokerRegistryIntegrationTest (#23367)
lhotari Sep 28, 2024
77cb67a
[fix][ml] Managed ledger should recover after open ledger failed (#23…
Demogorgon314 Sep 29, 2024
950309b
[fix][misc] Log Conscrypt security provider initialization warnings a…
lhotari Sep 29, 2024
5e832a1
[fix][test] Fix ReplicatorRateLimiterTest (#23369)
Demogorgon314 Sep 29, 2024
f071a89
[fix][cli] Remove deprecated "-client" JVM arg (#23370)
lhotari Sep 29, 2024
7e59bde
[improve] Install openssl in the docker image to fix compatibility wi…
lhotari Sep 29, 2024
b242850
[improve][ci] Switch to Java 21 as default JVM version for CI (#23373)
lhotari Sep 30, 2024
7d7dc80
[fix][broker] Fix the broker registering might be blocked for long ti…
BewareMyPower Sep 30, 2024
9980967
[improve] Upgrade Pulsar Python client in docker image to 3.5.0 (#23377)
lhotari Sep 30, 2024
e0b754d
[improve][broker] check system topic is used before configuring syste…
heesung-sn Oct 1, 2024
5b98d37
[feat] Use producer name and sequence number as fallback key in Key_S…
pdolif Oct 1, 2024
9eeffe5
[fix][broker] Support large number of unack message store for cursor …
rdhabalia Oct 1, 2024
d2c91b1
[fix][broker] Cancel possible pending replay read in cancelPendingRea…
lhotari Oct 1, 2024
50802be
[improve][pip] PIP-381: Handle large PositionInfo state (#23328)
dlg99 Oct 1, 2024
1dad078
[improve][pip] Improve PIP process and voting timeline (#23387)
rdhabalia Oct 2, 2024
c41c7e9
[improve] Configure Rocksdb to use musl libc flavor of the native lib…
lhotari Oct 2, 2024
adb9014
[fix][broker] Fix out-of-order issues with ConsistentHashingStickyKey…
lhotari Oct 2, 2024
53e996c
[fix][client] Fix failover consumer-listener stuck with cumulative ac…
rdhabalia Oct 2, 2024
e49d9ad
[improve][pip] PIP-360 Add admin API to display Schema metadata (#22913)
rdhabalia Oct 2, 2024
ab684a0
[fix][sec] Upgrade protobuf-java to 3.25.5 (#23356)
lhotari Oct 3, 2024
eee9283
[fix][broker] timeout when broker registry hangs and monitor broker r…
heesung-sn Oct 3, 2024
c2128dc
[fix] Bump commons-io:commons-io from 2.8.0 to 2.14.0 (#23393)
dependabot[bot] Oct 3, 2024
fad6761
[fix][sec] Upgrade Avro to 1.11.4 to address CVE-2024-47561 (#23394)
lhotari Oct 3, 2024
38322a6
[improve][broker] PIP-327: Support force topic loading for unrecovera…
rdhabalia Oct 4, 2024
1e93677
[improve][pip] PIP-360 Add admin API to display Schema metadata (#22938)
rdhabalia Oct 4, 2024
56200aa
[improve][ci] Continue Pulsar CI build even when Trivy scanner fails …
lhotari Oct 4, 2024
aa12561
[fix][broker] Fix Broker was failing to create producer with broken s…
rdhabalia Oct 4, 2024
64e9687
[improve][pip] PIP-379: Key_Shared Draining Hashes for Improved Messa…
lhotari Oct 4, 2024
6bca70b
[fix][client] Add more info while throwing reader creation exception …
rdhabalia Oct 4, 2024
b9ededc
[fix][broker] Fix delivery-test with unnecessary invocation-count (#2…
rdhabalia Oct 4, 2024
6c7ec4c
[feat] [broker] Add broker health check status into prometheus metric…
vineeth1995 Oct 7, 2024
806fdf8
[improve][misc] Upgrade Jetty to 9.4.56.v20240826 (#23405)
lhotari Oct 7, 2024
5451921
[improve] PIP-384: ManagedLedger interface decoupling (#23363)
lhotari Oct 7, 2024
731ec83
[improve][broker][PIP-384] Decouple Bookkeeper client from ManagedLed…
lhotari Oct 8, 2024
06fc259
[improve][build] Update maven-wrapper (mvnw) to recent stable version…
lhotari Oct 8, 2024
c598974
[improve][PIP] PIP-383: Support granting/revoking permissions for mul…
Technoboy- Oct 8, 2024
4efcc15
[improve][ci] Move some flaky ExtensibleLoadManager tests to flaky gr…
lhotari Oct 8, 2024
3d0625b
[improve][broker] PIP-379: Key_Shared Draining Hashes for Improved Me…
lhotari Oct 8, 2024
4d6dee4
[fix][ml] Remove unnecessary return in ManagedLedgerImpl (#23418)
summeriiii Oct 8, 2024
9579c4d
[improve][ci] Upgrade/Downgrade test (#22988)
dlg99 Oct 8, 2024
84b834f
[improve][broker] PIP-379: Snapshot hash range assignments only in AU…
lhotari Oct 8, 2024
5aadec0
[fix][broker] Fix typos in pulsar-broker and tiered-storage. (#23415)
psxjoy Oct 9, 2024
676fdb1
[improve][broker] PIP-379: Enable the use of the classic implementati…
lhotari Oct 9, 2024
1d83a53
[fix][doc] Fix some typos in pip (#23288)
summeriiii Oct 9, 2024
ed01b0e
[fix][ml][PIP-327] fix recover from ledger when ledgerForceRecovery i…
summeriiii Oct 9, 2024
40b9638
Merge branch 'master' into fix_cursor_recover_ignored_batch_ack_index
lhotari Oct 9, 2024
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
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ github:
enabled_merge_buttons:
squash: true
merge: false
rebase: true
rebase: false
protected_branches:
master:
required_status_checks:
Expand All @@ -58,6 +58,9 @@ github:

required_signatures: false

# Requires all conversations on code to be resolved before a pull request can be merged.
required_conversation_resolution: true

# The following branch protections only ensure that force pushes are not allowed
branch-1.15: {}
branch-1.16: {}
Expand Down
13 changes: 12 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ body:
For suggestions or help, please consider:
1. [User Mail List](mailto:[email protected]) ([subscribe](mailto:[email protected]));
2. [Github Discussion](https://github.com/apache/pulsar/discussions).

If you are reporting a security vulnerability, please instead follow the [security policy](https://pulsar.apache.org/en/security/).
- type: checkboxes
attributes:
label: Search before asking
Expand All @@ -37,11 +39,20 @@ body:
- label: >
I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
required: true
- type: checkboxes
attributes:
label: Read release policy
description: >
Please check the [supported Pulsar versions in the release policy](https://pulsar.apache.org/contribute/release-policy/#supported-versions).
options:
- label: >
I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
required: true
- type: textarea
attributes:
label: Version
description: >
Please provide the OS and Pulsar version you are using. If you are using the master branch, please provide the commit id.
Please provide the OS, Java version and Pulsar versions (client + broker) you are using.
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/flaky-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
name: Flaky test
title: "Flaky-test: test_class.test_method"
description: Report a flaky test failure
labels: [ "component/test", "flaky-tests" ]
labels: [ "area/test", "type/flaky-tests" ]
body:
- type: markdown
attributes:
Expand Down
10 changes: 2 additions & 8 deletions .github/actions/tune-runner-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ runs:
# 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 /
sudo mount -o remount,nodiscard,commit=999999,barrier=0 /mnt
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
Expand All @@ -77,12 +77,6 @@ runs:
# stop Azure Linux agent to save RAM
sudo systemctl stop walinuxagent.service || true

# enable docker experimental mode which is
# required for using "docker build --squash" / "-Ddocker.squash=true"
daemon_json="$(sudo cat /etc/docker/daemon.json | jq '.experimental = true')"
echo "$daemon_json" | sudo tee /etc/docker/daemon.json
# restart docker daemon
sudo systemctl restart docker
echo '::endgroup::'

# show memory
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/upload-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runs:
- name: "Upload to Codecov (attempt #1)"
id: codecov-upload-1
if: steps.repo-check.outputs.passed == 'true'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
continue-on-error: true
with:
flags: ${{ inputs.flags }}
Expand All @@ -64,7 +64,7 @@ runs:
- name: "Upload to Codecov (attempt #2)"
id: codecov-upload-2
if: steps.codecov-upload-1.outcome == 'failure'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
continue-on-error: true
with:
flags: ${{ inputs.flags }}
Expand All @@ -77,7 +77,7 @@ runs:
- name: "Upload to Codecov (attempt #3)"
id: codecov-upload-3
if: steps.codecov-upload-2.outcome == 'failure'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
# fail on last attempt
continue-on-error: false
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/changes-filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ docs:
- 'deployment/**'
- 'wiki/**'
- 'pip/**'
java_non_tests:
- '**/src/main/java/**/*.java'
tests:
- added|modified: '**/src/test/java/**/*.java'
need_owasp:
Expand Down
3 changes: 2 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# under the License.

PIP:
- 'pip/**'
- changed-files:
- any-glob-to-any-file: 'pip/**'
10 changes: 5 additions & 5 deletions .github/workflows/ci-go-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
docs_only: ${{ steps.check_changes.outputs.docs_only }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Detect changed files
id: changes
Expand Down Expand Up @@ -75,25 +75,25 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go-version: [1.15, 1.16, 1.17]
go-version: ['1.21']

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go

- name: InstallTool
run: |
cd pulsar-function-go
wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.18.0
wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.55.2
./bin/golangci-lint --version

- name: Build
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ on:

env:
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000
JDK_DISTRIBUTION: corretto

jobs:
update-maven-dependencies-cache:
name: Update Maven dependency cache for ${{ matrix.name }}
env:
JOB_NAME: Update Maven dependency cache for ${{ matrix.name }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ${{ matrix.runs-on }}
timeout-minutes: 45

Expand All @@ -63,7 +64,7 @@ jobs:
mvn_arguments: ''

- name: all modules - macos
runs-on: macos-11
runs-on: macos-latest
cache_name: 'm2-dependencies-all'

- name: core-modules
Expand All @@ -73,7 +74,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand All @@ -91,7 +92,7 @@ jobs:
- name: Cache local Maven repository
if: ${{ github.event_name == 'schedule' || steps.changes.outputs.poms == 'true' }}
id: cache
uses: actions/cache@v3
uses: actions/cache@v4
timeout-minutes: 5
with:
path: |
Expand All @@ -103,10 +104,10 @@ jobs:
# cache would be used as the starting point for a new cache entry

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
if: ${{ (github.event_name == 'schedule' || steps.changes.outputs.poms == 'true') && steps.cache.outputs.cache-hit != 'true' }}
with:
distribution: 'temurin'
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: 17

- name: Download dependencies
Expand Down
84 changes: 58 additions & 26 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,76 +24,108 @@ on:
workflow_dispatch:

env:
MAVEN_OPTS: -Xss1500k -Xmx1024m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000
MAVEN_OPTS: -Xss1500k -Xmx1500m -Daether.connector.http.reuseConnections=false -Daether.connector.requestTimeout=60000 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.serviceUnavailableRetryStrategy.class=standard -Dmaven.wagon.rto=60000
JDK_DISTRIBUTION: corretto
NIST_NVD_API_KEY: ${{ secrets.NIST_NVD_API_KEY }}

jobs:
run-owasp-dependency-check:
if: ${{ github.repository == 'apache/pulsar' || github.event_name == 'workflow_dispatch' }}
name: Check ${{ matrix.branch }}
env:
JOB_NAME: Check ${{ matrix.branch }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ubuntu-22.04
timeout-minutes: 45
timeout-minutes: 75
strategy:
fail-fast: false
max-parallel: 1
matrix:
include:
- branch: master
- branch: branch-3.1
- branch: branch-3.3
- branch: branch-3.2
- branch: branch-3.0
- branch: branch-2.11
- branch: branch-2.10
jdk: 11
- branch: branch-2.9
jdk: 11
- branch: branch-2.8
jdk: 11

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Cache local Maven repository
uses: actions/cache@v3
- name: Restore Maven repository cache
uses: actions/cache/restore@v4
timeout-minutes: 5
with:
path: |
~/.m2/repository/*/*/*
!~/.m2/repository/org/apache/pulsar
key: ${{ runner.os }}-m2-dependencies-owasp-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-dependencies-all-${{ hashFiles('**/pom.xml') }}
${{ runner.os }}-m2-dependencies-core-modules-${{ hashFiles('**/pom.xml') }}
${{ runner.os }}-m2-dependencies-core-modules-

- name: Set up JDK ${{ matrix.jdk || '17' }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: ${{ matrix.jdk || '17' }}

- name: run install by skip tests
run: mvn -B -ntp clean install -DskipTests -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true -DskipDocker=true
run: mvn -B -ntp clean install -DskipTests -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true -DskipDocker=true -DnarPluginPhase=none -pl '!distribution/io,!distribution/offloaders'

- name: OWASP cache key weeknum
id: get-weeknum
run: |
echo "weeknum=$(date -u +"%Y-%U")" >> $GITHUB_OUTPUT
shell: bash

- name: Restore OWASP Dependency Check data
id: restore-owasp-dependency-check-data
uses: actions/cache/restore@v4
timeout-minutes: 5
with:
path: ~/.m2/repository/org/owasp/dependency-check-data
key: owasp-dependency-check-data-${{ steps.get-weeknum.outputs.weeknum }}
enableCrossOsArchive: true
restore-keys: |
owasp-dependency-check-data-

- name: Update OWASP Dependency Check data
id: update-owasp-dependency-check-data
if: ${{ matrix.branch == 'master' && (steps.restore-owasp-dependency-check-data.outputs.cache-hit != 'true' || steps.restore-owasp-dependency-check-data.outputs.cache-matched-key != steps.restore-owasp-dependency-check-data.outputs.cache-primary-key) }}
run: mvn -B -ntp -Powasp-dependency-check initialize -pl . dependency-check:update-only

- name: Save OWASP Dependency Check data
if: ${{ steps.update-owasp-dependency-check-data.outcome == 'success' }}
uses: actions/cache/save@v4
timeout-minutes: 5
with:
path: ~/.m2/repository/org/owasp/dependency-check-data
key: ${{ steps.restore-owasp-dependency-check-data.outputs.cache-primary-key }}
enableCrossOsArchive: true

- name: run OWASP Dependency Check for distribution/server (-DfailBuildOnAnyVulnerability=true)
run: mvn -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -pl distribution/server -DfailBuildOnAnyVulnerability=true

- name: run OWASP Dependency Check for distribution/offloaders, distribution/io and pulsar-sql/presto-distribution
run: mvn -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -pl distribution/offloaders,distribution/io,pulsar-sql/presto-distribution
- name: run OWASP Dependency Check for offloaders/tiered-storage and pulsar-io connectors (-DfailOnError=false)
if: ${{ !cancelled() }}
run: |
mvnprojects=$(mvn -B -ntp -Dscan=false initialize \
| grep -- "-< .* >-" \
| sed -E 's/.*-< (.*) >-.*/\1/' \
| grep -E 'pulsar-io-|tiered-storage-|offloader' \
| tr '\n' ',' | sed 's/,$/\n/' )
set -xe
mvn --fail-at-end -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -DfailOnError=false -pl "${mvnprojects}"

- name: Upload OWASP Dependency Check reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: owasp-dependency-check-reports-${{ matrix.branch }}
path: |
distribution/server/target/dependency-check-report.html
distribution/offloaders/target/dependency-check-report.html
distribution/io/target/dependency-check-report.html
pulsar-sql/presto-distribution/target/dependency-check-report.html
**/target/dependency-check-report.html
4 changes: 1 addition & 3 deletions .github/workflows/ci-semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
name: Check pull request title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5.0.2
- uses: amannn/action-semantic-pull-request@v5.5.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -53,7 +53,6 @@ jobs:
# io -> Pulsar Connectors
# offload -> tiered storage
# sec -> security
# sql -> Pulsar Trino Plugin
# txn -> transaction
# ws -> websocket
# ml -> managed ledger
Expand All @@ -79,7 +78,6 @@ jobs:
schema
sec
site
sql
storage
test
txn
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/ci-stale-issue-pr.yaml

This file was deleted.

Loading
Loading