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][txn] Enable client without system topics permission to use transactions #314

Closed
wants to merge 699 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
699 commits
Select commit Hold shift + click to select a range
2f45130
Revert "[fix][test][branch-3.0] Fix broken ManagedLedgerTest.testGetN…
coderzc Apr 23, 2024
6b7aa50
[fix][test][branch-3.0] Fix test PersistentTopicsTest.testUpdateParti…
coderzc Apr 23, 2024
85b8b32
Updated license version for Datastax
mukesh-ctds Apr 23, 2024
1d54ff8
Release 3.1.4.0
mukesh-ctds Apr 23, 2024
581b8e4
Start release 3.1.4.1-SNAPSHOT
mukesh-ctds Apr 23, 2024
cde5c13
Updated license version for Datastax
mukesh-ctds Apr 23, 2024
75b2db9
[improve][storage] Periodically rollover Cursor ledgers (#257)
eolivelli May 1, 2024
5bf373d
[improve][broker]Ensure namespace deletion doesn't fail (#259)
eolivelli May 2, 2024
567aa99
[fix][broker] Fix BufferOverflowException and EOFException bugs in /m…
lhotari Apr 25, 2024
d1e3cce
[improve][meta] Log a warning when ZK batch fails with connectionloss…
lhotari Apr 26, 2024
c9586ae
[improve][broker] Propagate cause exception in TopicBusyException whe…
lhotari Apr 26, 2024
72d2891
[fix][test] Flaky-test: ManagedLedgerTest.testTimestampOnWorkingLedge…
shibd Apr 27, 2024
f2081cf
[fix][io] CompressionEnabled didn't work on elasticsearch sink (#22565)
shibd Apr 24, 2024
09679d3
[improve][sec] Align some namespace level policy authorisation check …
mattisonchao Dec 4, 2023
484f611
[fix][admin] Fix namespace admin api exception response (#22587)
coderzc Apr 26, 2024
010a3f9
[fix][test] Fix resource leak in TransactionCoordinatorClientTest (#2…
lhotari Oct 17, 2023
07b40ee
[fix][test] Clear fields in test cleanup to reduce memory consumption…
lhotari Apr 25, 2024
275090a
[fix][broker] Reader stuck after call hasMessageAvailable when enable…
shibd Apr 28, 2024
32aff55
[fix][test] Fix the flaky tests of ManagedLedgerImplUtilsTest (#22611)
codelipenghui Apr 29, 2024
da6212a
[fix] [broker] Fix metrics pulsar_topic_load_failed_count is 0 when l…
poorbarcode Apr 29, 2024
f183109
[cleanup] [test] Cleanup unnecessary imports
poorbarcode May 2, 2024
43f4b41
[fix] [ml] Mark delete stuck due to switching cursor ledger fails (#2…
poorbarcode May 7, 2024
ad55f97
[fix] [broker] Part-1: Replicator can not created successfully due to…
poorbarcode Apr 23, 2024
81fbc82
[improve] [broker] Create partitioned topics automatically when enabl…
poorbarcode Apr 24, 2024
90036e1
[fix] [broker] Part-2: Replicator can not created successfully due to…
poorbarcode Apr 24, 2024
45de62a
[fix][broker] One topic can be closed multiple times concurrently (#1…
poorbarcode Apr 29, 2024
e3ac347
[fix] [test] Fix flaky test ReplicatorTest (#22594)
poorbarcode May 7, 2024
fcf0183
[fix] [broker] Fix nothing changed after removing dynamic configs (#2…
poorbarcode May 8, 2024
3ed7f4c
[fix][offload] Fix OOM in tiered storage, caused by unbounded offsets…
lhotari May 9, 2024
2a96f95
[improve][offload] Replace usage of shaded class in OffsetsCache (#22…
lhotari May 9, 2024
9669b4c
[fix][broker] Fix typos lister -> listener (#21068)
Aug 25, 2023
0ac03da
[fix] [broker] Fix configurationMetadataSyncEventTopic is marked supp…
poorbarcode May 10, 2024
790ac4e
[improve] Retry re-validating ResourceLock with backoff after errors …
merlimat May 7, 2024
4548350
fix Checkstyle violations errors
nikhil-ctds May 13, 2024
cf92979
[fix][broker] usedLocallySinceLastReport should always be reset (#22672)
nodece May 9, 2024
eede7fc
[improve] [log] Print source client addr when enabled haProxyProtocol…
poorbarcode May 10, 2024
d6500ee
[fix][io] Fix es index creation (#22654) (#22701)
nodece May 13, 2024
d9dc63c
[fix][broker] Avoid being stuck when closing the broker with extensib…
BewareMyPower Apr 26, 2024
87c4df3
[fix][fn]make sure the classloader for ContextImpl is `functionClassL…
freeznet May 1, 2024
dd9db88
[fix][sec] Upgrade aws-sdk.version to avoid CVE-2024-21634 (#22633)
nikhilerigila09 May 2, 2024
c37f354
[fix] [client] Fix Consumer should return configured batch receive ma…
rdhabalia May 2, 2024
703bdc5
[fix][sec] Upgrade elasticsearch-java version to avoid CVE-2023-4043 …
nikhilerigila09 May 3, 2024
a62730f
[fix][storage] ReadonlyManagedLedger initialization does not fill in …
gvanyao May 4, 2024
fc7e6d7
[fix][test] Clear MockedPulsarServiceBaseTest fields to prevent test …
lhotari May 6, 2024
45b86eb
[fix] Fix Reader can be stuck from transaction aborted messages. (#22…
dao-jun May 7, 2024
b69857d
[fix][broker] Disable system topic message deduplication (#22582)
mattisonchao May 8, 2024
df29a6c
[improve][ws] Add memory limit configuration for Pulsar client used i…
lhotari May 8, 2024
c07b665
[fix][broker] avoid offload system topic (#22497)
mattisonchao May 8, 2024
79f8e29
[fix][broker] Fix ProducerBusy issue due to incorrect userCreatedProd…
hrzzzz May 9, 2024
0a02cd9
[fix][client] Fix ReaderBuilder doest not give illegalArgument on con…
rdhabalia May 10, 2024
1a02229
[fix][sec] Upgrade postgresql version to avoid CVE-2024-1597 (#22635)
nikhilerigila09 May 10, 2024
7042b52
[fix] [broker] rename to changeMaxReadPositionCount (#22656)
thetumbled May 8, 2024
99c2a9d
[fix][broker] fix replicated subscriptions for transactional messages…
thetumbled May 13, 2024
53f0b91
[fix][test] Fix NPE in BookKeeperClusterTestCase tearDown (#22493)
lhotari Apr 12, 2024
4fa1c21
[improve][ci][branch-3.0] Upgrade actions in pulsar-ci and pulsar-ci-…
lhotari May 14, 2024
f7a3628
fix checkstyle errors
nikhil-ctds May 15, 2024
08f270b
Updated license version for Datastax
nikhil-ctds May 20, 2024
9bcbd6f
Release 3.1.4.1
nikhil-ctds May 20, 2024
343d8fe
Start release 3.1.4.2-SNAPSHOT
nikhil-ctds May 20, 2024
421188e
[fix][broker] Make ExtensibleLoadManagerImpl.getOwnedServiceUnits asy…
heesung-sn May 17, 2024
7e6d2c8
[improve] [broker] [break change] Do not create partitioned DLQ/Retry…
poorbarcode May 15, 2024
f52b0f5
[fix][schema] Error checking schema compatibility on a schema-less to…
shibd May 16, 2024
97a6c45
[fix][offload] Break the fillbuffer loop when met EOF (#22722)
zymap May 17, 2024
d611a3d
[feat][broker] Implementation of PIP-323: Complete Backlog Quota Tele…
codelipenghui May 18, 2024
f54d72d
[improve][broker] checkTopicExists supports checking partitioned topi…
nodece Dec 19, 2023
6b7e727
[improve] [test] Add a test to guarantee the TNX topics will not be r…
poorbarcode May 16, 2024
323013a
[fix] [broker] fix deadlock when disable topic level Geo-Replication …
poorbarcode May 19, 2024
8027d5c
[fix][ml]: subscription props could be lost in case of missing ledger…
nicoloboschi May 20, 2024
1baa094
[fix] [ml] Add entry fail due to race condition about add entry faile…
poorbarcode May 21, 2024
3d57b6e
[fix][admin][part-1]Clearly define REST API on Open API (#22774)
shibd May 26, 2024
37f16db
[fix][admin] Clearly define REST API on Open API for Namesaces@v2 (#2…
shibd May 27, 2024
80fd482
[fix][admin] Clearly define REST API on Open API for Topics (#22782)
shibd May 27, 2024
0ddcd49
[fix][admin] Clearly define REST API on Open API (#22783)
shibd May 27, 2024
f0c5776
[fix] [broker] fix topic partitions was expanded even if disabled top…
poorbarcode May 28, 2024
b2ccc5f
[improve][cli][branch-3.0] PIP-353: Improve transaction message visib…
shibd May 28, 2024
0f86864
[improve][broker] avoid creating new objects when intercepting (#22790)
mattisonchao May 28, 2024
bf9cdeb
[fix][broker] EntryFilters fix NoClassDefFoundError due to closed cla…
eolivelli May 29, 2024
49902fe
[improve][broker] Clear thread local BrokerEntryMetadata instance bef…
lhotari May 22, 2024
232cde3
[improve][broker] Remove ClassLoaderSwitcher to avoid objects allocat…
dao-jun May 29, 2024
8f59cfb
[improve][build] Support git worktree working directory while buildin…
lhotari Jun 5, 2024
0ee3687
[fix][meta] Check if metadata store is closed in RocksdbMetadataStore…
lhotari Jun 5, 2024
6812af7
[fix][ml] Fix race conditions in RangeCache (#22789)
lhotari May 31, 2024
040465d
[improve][ml] RangeCache refactoring: test race conditions and preven…
lhotari May 31, 2024
12971bc
[improve][ml] RangeCache refactoring follow-up: use StampedLock inste…
lhotari Jun 3, 2024
7b426c6
[fix][sec] Upgrade Bouncycastle libraries to address CVEs (#22826)
lhotari Jun 3, 2024
4b6e6b5
[fix] Bump io.airlift:aircompressor from 0.20 to 0.27 (#22819)
dependabot[bot] Jun 3, 2024
ec6af44
[cleanup][ml] ManagedCursor clean up. (#22246)
dao-jun Mar 12, 2024
90bd00d
[fix][broker] Fix cursor should use latest ledger config (#22644)
nodece May 10, 2024
2c34c2c
[improve] [client] improve the class GetTopicsResult (#22766)
poorbarcode May 30, 2024
22a0603
[improve] Upgrade Jetcd to 0.7.7 and VertX to 4.5.8 (#22835)
merlimat Jun 4, 2024
7caf988
Updated license version for Datastax
mukesh-ctds Jun 10, 2024
458f059
Release 3.1.4.2
mukesh-ctds Jun 10, 2024
78a280d
Start release 3.1.4.3-SNAPSHOT
mukesh-ctds Jun 10, 2024
570fec2
Updated license version for Datastax
mukesh-ctds Jun 10, 2024
0704fae
[improve][ci] Migrate from Gradle Enterprise to Develocity (#22880)
lhotari Jun 8, 2024
35876cc
[improve][broker] Include runtime dependencies in server distribution…
dragosvictor Jan 31, 2024
aa39152
[improve][misc] Include native epoll library for Netty for arm64 (#22…
lhotari Mar 21, 2024
ed9e77a
[fix] Remove blocking calls from BookieRackAffinityMapping (#22846)
merlimat Jun 5, 2024
338f52d
[fix][cli] Fix Pulsar standalone shutdown - bkCluster wasn't closed (…
lhotari Jun 7, 2024
cf96763
[fix][cli] Fix Pulsar standalone "--wipe-data" (#22885)
lhotari Jun 10, 2024
78a8e30
[improve] Upgrade IPAddress to 5.5.0 (#22886)
merlimat Jun 10, 2024
48c2b7d
[fix][misc] Topic name from persistence name should decode local name…
Shawyeok Jun 11, 2024
0aa3d43
[improve][broker] Optimize PersistentTopic.getLastDispatchablePositio…
dao-jun Jun 11, 2024
8ba2f71
[improve][broker] Include runtime dependencies in server distribution…
dragosvictor Jan 31, 2024
f7ee78d
[fix][broker][branch-3.0] The topic might reference a closed ledger (…
shibd Jun 13, 2024
ee21988
[fix][cli] Fix the pulsar-daemon parameter passthrough syntax (#22905)
coderzc Jun 14, 2024
7e7e2af
[fix][broker] Fix topic status for oldestBacklogMessageAgeSeconds con…
shibd Jun 14, 2024
1d80bd3
fix: cannot find symbol from cherry-pick 73b50e
shibd Jun 18, 2024
a4094fa
[fix] [client] PIP-344 Do not create partitioned metadata when callin…
poorbarcode May 23, 2024
87013b4
[improve] [client] PIP-344 support feature flag supportsGetPartitione…
poorbarcode Jun 6, 2024
b9c9930
[fix] [broker] response not-found error if topic does not exist when …
poorbarcode Jun 17, 2024
db274ec
[fix][client] fix producer/consumer perform lookup for migrated topic…
rdhabalia Oct 14, 2023
1ba6b3a
[fix][proxy] Add missing parameter in newPartitionMetadataRequest call
nikhil-ctds Jun 25, 2024
2c987c8
[fix][test] Fix thread leaks in Managed Ledger tests and remove dupli…
lhotari Oct 24, 2023
94f9ec3
[fix] [broker] Messages lost on the remote cluster when using topic l…
poorbarcode Jun 19, 2024
01a2e20
[fix][fn] Enable optimized Netty direct byte buffer support for Pulsa…
lhotari Jun 17, 2024
4fc7561
[fix][test] Fix TableViewBuilderImplTest NPE and infinite loop (#22924)
lhotari Jun 17, 2024
1dc870c
[fix] [client] Fix resource leak in Pulsar Client since HttpLookupSer…
poorbarcode Jun 18, 2024
1610af1
[fix] [broker] broker log a full thread dump when a deadlock is detec…
yyj8 Jun 20, 2024
7d13506
[fix][fn] Support compression type and crypto config for all producer…
lhotari Jun 20, 2024
8edc5ab
[fix][broker] Check the markDeletePosition and calculate the backlog …
nodece Jun 20, 2024
f11db32
[improve][broker] Optimize `ConcurrentOpenLongPairRangeSet` by Roarin…
dao-jun Jun 20, 2024
59028a6
[improve][misc][branch-3.2] Upgrade to Bookkeeper 4.16.6 (#22963)
lhotari Jun 24, 2024
d8ddba4
[fix][ci] Replace removed macos-11 with macos-latest in GitHub Action…
lhotari Jun 24, 2024
c4ab0b8
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
lhotari Jun 21, 2024
0f4c208
[improve][misc] Replace rename-netty-native-libs.sh script with renam…
lhotari Jun 24, 2024
717db84
[improve][fn] Make producer cache bounded and expiring in Functions/C…
lhotari Jun 25, 2024
659896e
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
lhotari Jun 21, 2024
c404e19
[improve] [broker] make system topic distribute evenly. (#22953)
thetumbled Jun 24, 2024
245b197
Revert "[improve][broker] Optimize `ConcurrentOpenLongPairRangeSet` b…
lhotari Jun 24, 2024
2331017
[improve][misc] Replace rename-netty-native-libs.sh script with renam…
lhotari Jun 24, 2024
3f48e5f
[fix][client] Fix orphan consumer when reconnection and closing are c…
poorbarcode Jun 25, 2024
2049c72
[fix][broker] Fix Replicated Topic unload bug when ExtensibleLoadMana…
heesung-sn Apr 16, 2024
93b5fcf
[fix][broker] Immediately tombstone Deleted and Free state bundles (#…
heesung-sn May 21, 2024
d26f20d
[fix][broker] Fix NPE after publishing a tombstone to the service uni…
BewareMyPower Jun 7, 2024
cd5b194
[fix][broker] Asynchronously return brokerRegistry.lookupAsync when c…
heesung-sn Jun 13, 2024
eeb084f
[fix][broker] Update init and shutdown time and other minor logic (Ex…
heesung-sn Jun 18, 2024
b691da9
[fix][broker] Ensure that PulsarService is ready for serving incoming…
lhotari Jun 26, 2024
fb72821
[fix][broker] Check the broker is available for the SLA monitor bundl…
Demogorgon314 Apr 18, 2024
64682a7
[fix][broker] Support lookup options for extensible load manager (#22…
Demogorgon314 Apr 23, 2024
6e7943f
[fix][broker] Fix updatePartitionedTopic when replication at ns level…
lhotari Jun 25, 2024
1a44c3d
[improve] [broker] PIP-356 Support Geo-Replication starts at earliest…
poorbarcode Jun 19, 2024
3d16cf7
[feat][broker][branch-3.0] PIP-321 Introduce allowed-cluster at the n…
Demogorgon314 Jul 1, 2024
8ced787
[improve][misc] Upgrade to Netty 4.1.111.Final and switch to use grpc…
lhotari Jun 12, 2024
fe09af2
[cleanup][misc] Remove classifier from netty-transport-native-unix-co…
lhotari Jun 20, 2024
b453330
[fix][ci] Fix jacoco code coverage report aggregation (#22964)
lhotari Jun 24, 2024
b5b4b95
Updated license version for Datastax
mukesh-ctds Jul 2, 2024
8473018
Release 3.1.4.3
mukesh-ctds Jul 2, 2024
1b2c494
Start release 3.1.4.4-SNAPSHOT
mukesh-ctds Jul 2, 2024
9085fdc
Revert "Start release 3.1.4.4-SNAPSHOT"
mukesh-ctds Jul 2, 2024
633fc8a
Revert "Release 3.1.4.3"
mukesh-ctds Jul 2, 2024
eaa994f
Updated license version for Datastax
mukesh-ctds Jul 2, 2024
4cd0965
Release 3.1.4.3
mukesh-ctds Jul 2, 2024
f409e90
Start release 3.1.4.4-SNAPSHOT
mukesh-ctds Jul 2, 2024
a490eee
Updated license version for Datastax
mukesh-ctds Jul 2, 2024
edc907d
Fix for license check for jetcd-core-shaded
mukesh-ctds Jul 10, 2024
8708d5f
[fix][ci] Fix OWASP Dependency Check download by using NVD API key (#…
lhotari Jul 4, 2024
c34d444
[fix][broker] PulsarStandalone started with error if --stream-storage…
zhouyifan279 Jul 8, 2024
b36266c
[improve][build] Upgrade dependency-check-maven-plugin to 10.0.2 (#23…
lhotari Jul 8, 2024
538f68e
[improve][broker] Improve exception for topic does not have schema to…
shibd Jul 1, 2024
2a0af99
[fix][broker] Fix broker OOM when upload a large package. (#22989)
shibd Jul 2, 2024
65c8b23
[fix][broker] Can't connecte to non-persist topic when enable broker …
shibd Jul 3, 2024
1db5939
[fix] Make operations on `individualDeletedMessages` in lock scope (#…
dao-jun Jul 3, 2024
1560edb
[fix][broker] Fix MessageDeduplication replay timeout cause topic loa…
TakaHiR07 Jul 5, 2024
b488f1f
[improve][broker] Use RoaringBitmap in tracking individual acks to re…
lhotari Jul 6, 2024
c917de3
[fix][misc] Remove RoaringBitmap dependency from pulsar-common (#23008)
lhotari Jul 8, 2024
044840a
[fix][client] Fix pattern consumer create crash if a part of partitio…
poorbarcode Jul 9, 2024
3d9d7e6
[fix][broker]Fix lookupService.getTopicsUnderNamespace can not work w…
poorbarcode Jul 10, 2024
f74d3df
[fix][broker] Fix geo-replication admin client url (#22584)
Demogorgon314 May 9, 2024
182b704
[fix][admin] Fix half deletion when attempt to topic with a incorrect…
poorbarcode Jul 10, 2024
f6f2db2
[fix][broker] Fix stuck when enable topic level replication and build…
poorbarcode Jul 15, 2024
4788375
Debezium upgrade to 2.6.1.Final
mukesh-ctds Jul 25, 2024
4c58701
Reverted changes for oracle
mukesh-ctds Jul 25, 2024
326271a
[fix][broker] Replication stuck when partitions count between two clu…
poorbarcode Jul 15, 2024
b4acd58
fix code style introduce by #22983
shibd Jul 16, 2024
235f7c5
[improve][broker][branch-3.0] PIP-364: Introduce a new load balance a…
thetumbled Jul 19, 2024
082dfb5
[improve] [broker] Improve CPU resources usege of TopicName Cache (#2…
poorbarcode Jul 22, 2024
d63205c
fix code style
shibd Jul 22, 2024
40a797c
[improve] [broker] high CPU usage caused by list topics under namespa…
poorbarcode Jul 22, 2024
86d4ea0
[fix][broker][branch-3.0] Do not try to clean owned bundles from inac…
heesung-sn Jul 27, 2024
8124284
[improve][broker] GetPartitionMetadata fail also can produce messages…
congbobo184 Jul 22, 2024
4b715b6
[fix][broker] Handle BucketDelayedDeliveryTracker recover failed (#22…
dao-jun Jul 24, 2024
c2fda68
[fix][client] Fix negative acknowledgement by messageId (#23060)
izumo27 Jul 29, 2024
f5da2bf
[fix] [broker] Remove blocking calls from Subscription.getStats (#23088)
poorbarcode Jul 29, 2024
453d964
[improve] [broker] Check max producers/consumers limitation first bef…
poorbarcode Jul 29, 2024
de5ccbd
[improve][ci] Switch to use DEVELOCITY_ACCESS_KEY from GRADLE_ENTERPR…
lhotari Jul 29, 2024
148077c
[fix] [broker] Internal reader of __change_events can not started aft…
poorbarcode Jul 29, 2024
f5eebae
[improve][broker] Optimize the performance of individual acknowledgme…
shibd Jul 29, 2024
1ed129d
Updated license version for Datastax
nikhil-ctds Aug 1, 2024
3d5863a
Release 3.1.4.4
nikhil-ctds Aug 1, 2024
7dedc0f
Start release 3.1.4.5-SNAPSHOT
nikhil-ctds Aug 1, 2024
b741f26
Updated license version for Datastax
nikhil-ctds Aug 5, 2024
4d19379
Updated license version for Datastax
nikhil-ctds Aug 9, 2024
5631b66
[fix][client] TransactionCoordinatorClient support retry (#23081)
chenhongSZ Jul 30, 2024
e322642
[improve][broker]Reuse method getAvailableBrokersAsync (#23099)
crossoverJie Jul 31, 2024
85150dc
[fix] [broker] fix replicated namespaces filter in filterAndUnloadMat…
iosdev747 Jul 31, 2024
b0a40f4
[fix][broker] fix exception may hidden and result in stuck when topic…
TakaHiR07 Aug 2, 2024
415f283
[fix][broker] type cast on exceptions in exceptionally can lead to lo…
shibd Aug 2, 2024
d2a8e86
[fix][broker] Fix authenticate order in AuthenticationProviderList (#…
coderzc Aug 5, 2024
156ce19
[fix][broker]A failed consumer/producer future in ServerCnx can never…
poorbarcode Aug 6, 2024
26e63e1
[fix][broker] Handle the case when `getOwnedServiceUnits` fails grace…
Demogorgon314 Aug 6, 2024
f598675
[improve][misc] Improve AES-GCM cipher performance (#23122)
ocadaruma Aug 5, 2024
ef1eacc
[improve][broker] Support to specify auth-plugin, auth-parameters and…
Demogorgon314 Aug 6, 2024
fcd02df
[improve][broker] Reduce the CPU pressure from the transaction buffer…
BewareMyPower Jul 29, 2024
13b6669
[improve][misc] Optimize TLS performance by omitting extra buffer cop…
lhotari Aug 6, 2024
9eca32d
[fix][fn] Make python install dependencies from requirements.txt (#20…
jiangpengcheng Oct 18, 2023
be739ab
[fix][client] Fix timeout handling in Pulsar Admin client (#23128)
lhotari Aug 7, 2024
fcb4809
[improve][fn] Add support for overriding additionalJavaRuntimeArgumen…
lhotari Aug 7, 2024
2455b1e
[fix][broker] Fix the bug that elected leader thinks it's a follower …
heesung-sn Aug 8, 2024
5149aef
[improve][misc] Upgrade jersey to 2.41 (#22290)
nodece Mar 18, 2024
62fbcc9
[improve][client] Add maxConnectionsPerHost and connectionMaxIdleSeco…
lhotari Aug 8, 2024
6cfacf2
[fix] [broker] Fix compatibility issues for PIP-344 (#23136)
poorbarcode Aug 10, 2024
e16a0e2
[improve][broker] Explicitly close LB internal topics when playing a …
heesung-sn Aug 10, 2024
b3d47d2
[fix][broker] Fix 'Disabled replicated subscriptions controller' logi…
hanmz Aug 13, 2024
68db449
[fix] [broker] Let Pending ack handler can retry to init when encount…
poorbarcode Aug 12, 2024
b46125e
[improve] [client]Add new ServiceUrlProvider implementation: SameAuth…
poorbarcode Aug 12, 2024
b04b905
[improve][proxy] Reuse authentication instance in pulsar-proxy (#23113)
equanz Aug 14, 2024
bdfc591
[fix][client] Fix for early hit `beforeConsume` for MultiTopicConsume…
coderzc Aug 14, 2024
b8aa905
[fix][client] Create the retry producer async (#23157)
omarkj Aug 14, 2024
c228b5d
[improve] [broker] Avoid subscription fenced error with consumer.seek…
poorbarcode Aug 14, 2024
bb6c14f
[fix][broker] Fix shadow topics cannot be consumed when the entry is …
BewareMyPower Aug 15, 2024
ef00bb2
[fix] DLQ to handle bytes key properly (#23172)
dlg99 Aug 15, 2024
42e9157
[fix][client] Copy orderingKey to retry letter topic and DLQ messages…
lhotari Aug 16, 2024
e3b9cdc
[feat] Add scripts for updating BK RocksDB ini files (#23178)
lhotari Aug 16, 2024
b463ba4
[fix][test] Fix flaky SubscriptionSeekTest.testSeekIsByReceive (#23170)
lhotari Aug 16, 2024
69064c3
[improve][broker] Support customized shadow managed ledger implementa…
BewareMyPower Aug 16, 2024
6c6f6bf
[improve][broker] Should notify bundle ownership listener onLoad even…
Demogorgon314 Aug 16, 2024
ae7a71c
[improve] [broker] Optimize performance for checking max topics when …
poorbarcode Aug 17, 2024
8d7f750
[fix][broker] Skip reading entries from closed cursor. (#22751)
dao-jun Aug 17, 2024
7047c2c
[fix] [broker] Topic can never be loaded up due to broker maintains a…
poorbarcode Aug 18, 2024
c29f36a
[improve][broker] Optimize high CPU usage when consuming from topics …
coderzc Aug 20, 2024
336d5d6
[improve][broker] Improve pulsar_topic_load_failed metric to record c…
TakaHiR07 Aug 21, 2024
959f80b
[improve][client] Don't print info logs for each schema loaded by cli…
BewareMyPower Aug 21, 2024
8ad5249
[fix][client] the nullValue in msgMetadata should be true by default …
liangyepianzhou Aug 3, 2024
7b7d335
[fix] [log] Do not print warn log when concurrently publishing and sw…
poorbarcode Aug 22, 2024
751aea3
AS-4027: add string write function (#308)
pgier Aug 26, 2024
ada390b
[improve] [broker] Phase 1 of PIP-370 support disable create topics o…
poorbarcode Aug 23, 2024
b0c3ffb
[improve] [broker] Part 2 of PIP-370: add metrics "pulsar_replication…
poorbarcode Aug 26, 2024
4322edf
Release 3.1.4.5
nikhil-ctds Aug 28, 2024
d60f9d3
Start release 3.1.4.6-SNAPSHOT
nikhil-ctds Aug 28, 2024
1f052d2
Revert "Start release 3.1.4.6-SNAPSHOT"
nikhil-ctds Aug 29, 2024
19c7f49
Revert "Release 3.1.4.5"
nikhil-ctds Aug 29, 2024
43249a0
add vi/vim to luna 31 images (#310)
nikhil-ctds Aug 29, 2024
28cc01c
Updated license version for Datastax
nikhil-ctds Aug 29, 2024
249e149
Release 3.1.4.5
nikhil-ctds Aug 29, 2024
d5d628b
Start release 3.1.4.6-SNAPSHOT
nikhil-ctds Aug 29, 2024
efa9a54
Updated license version for Datastax
nikhil-ctds Aug 30, 2024
4233c81
[improve][broker] Add msgInReplay subscription stat and metric to imp…
lhotari Aug 29, 2024
ca7eae6
[improve][client]PIP-359:Support custom message listener executor for…
AuroraTwinkle Aug 5, 2024
fa412fa
[fix][broker] Fix brokers still retry start replication after closed …
poorbarcode Sep 2, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/clean-disk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
directories=(/usr/local/lib/android /opt/ghc)
if [[ "${{ inputs.mode }}" == "full" ]]; then
# remove these directories only when mode is 'full'
directories+=(/usr/share/dotnet)
directories+=(/usr/share/dotnet /opt/hostedtoolcache/CodeQL)
fi
emptydir=/tmp/empty$$/
mkdir $emptydir
Expand Down
4 changes: 2 additions & 2 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 Down
8 changes: 4 additions & 4 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 All @@ -97,4 +97,4 @@ runs:

[Code coverage report](https://app.codecov.io/github/$GITHUB_REPOSITORY/commit/${head_sha}/tree)

EOF
EOF
4 changes: 3 additions & 1 deletion .github/changes-filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ docs:
- 'deployment/**'
- 'wiki/**'
- 'pip/**'
java_non_tests:
- '**/src/main/java/**/*.java'
tests:
- added|modified: '**/src/test/java/**/*.java'
need_owasp:
- 'pom.xml'
- '**/pom.xml'
- 'src/owasp-dependency-check-false-positives.xml'
- 'src/owasp-dependency-check-suppressions.xml'
- 'src/owasp-dependency-check-suppressions.xml'
11 changes: 6 additions & 5 deletions .github/workflows/ci-go-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
pull_request:
branches:
- master
- 3.1_ds
paths:
- '.github/workflows/**'
- 'pulsar-function-go/**'
Expand All @@ -42,7 +43,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 +76,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
4 changes: 2 additions & 2 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
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 +63,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 Down
83 changes: 58 additions & 25 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,75 +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.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
19 changes: 10 additions & 9 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
pull_request:
branches:
- master
- 3.1_ds
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
Expand All @@ -36,7 +37,7 @@ concurrency:
cancel-in-progress: true

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
# defines the retention period for the intermediate build artifacts needed for rerunning a failed build job
# it's possible to rerun individual failed jobs when the build artifacts are available
# if the artifacts have already been expired, the complete workflow can be rerun by closing and reopening the PR or by rebasing the PR
Expand All @@ -53,7 +54,7 @@ jobs:
collect_coverage: ${{ steps.check_coverage.outputs.collect_coverage }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Detect changed files
id: changes
Expand Down Expand Up @@ -94,13 +95,13 @@ jobs:
env:
JOB_NAME: Flaky tests suite
COLLECT_COVERAGE: "${{ needs.preconditions.outputs.collect_coverage }}"
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
runs-on: ubuntu-22.04
timeout-minutes: 100
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand All @@ -114,7 +115,7 @@ jobs:
limit-access-to-actor: true

- name: Cache local Maven repository
uses: actions/cache@v3
uses: actions/cache@v4
timeout-minutes: 5
with:
path: |
Expand All @@ -125,7 +126,7 @@ jobs:
${{ runner.os }}-m2-dependencies-core-modules-

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
Expand Down Expand Up @@ -155,7 +156,7 @@ jobs:

- name: Upload Jacoco report files to build artifacts
if: ${{ needs.preconditions.outputs.collect_coverage == 'true' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Jacoco-coverage-report-flaky
path: target/jacoco_test_coverage_report_flaky.zip
Expand All @@ -175,15 +176,15 @@ jobs:
annotate_only: 'true'

- name: Upload Surefire reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !success() }}
with:
name: Unit-BROKER_FLAKY-surefire-reports
path: surefire-reports
retention-days: 7

- name: Upload possible heap dump
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: Unit-BROKER_FLAKY-heapdump
Expand Down
Loading
Loading