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

[run-tests] [fix][broker] Introduce the last sent position to fix message ordering issues in Key_Shared (PIP-282) #6

Closed
wants to merge 448 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
448 commits
Select commit Hold shift + click to select a range
97153dc
[fix][test] Move ExtensibleLoadManagerImplTest to flaky tests (#22495)
lhotari Apr 12, 2024
51ecd02
[cleanup][broker] Remove unused NamespaceBundleFactory parameter when…
BewareMyPower Apr 13, 2024
7009071
[fix][broker] Optimize /metrics, fix unbounded request queue issue an…
lhotari Apr 13, 2024
837f8bc
[fix] [broker] Prevent long deduplication cursor backlog so that topi…
poorbarcode Apr 14, 2024
5d18ff7
[fix][txn]Handle exceptions in the transaction pending ack init (#21274)
liangyepianzhou Apr 15, 2024
d9a43dd
[fix][test] Flaky-test: testMessageExpiryWithTimestampNonRecoverableE…
shibd Apr 15, 2024
9d72e6b
[improve][test] Add topic operation checker for topic API (#22468)
coderzc Apr 15, 2024
20915d1
[fix][sec] Upgrade Bouncycastle to 1.78 (#22509)
izumo27 Apr 15, 2024
bbff29d
[fix][io] Kafka Source connector maybe stuck (#22511)
shibd Apr 16, 2024
203f305
[fix][broker] Fix Replicated Topic unload bug when ExtensibleLoadMana…
heesung-sn Apr 16, 2024
70b401b
[improve][fn] Expose `RuntimeFlags` as CLI option for Pulsar Function…
freeznet Apr 16, 2024
ffdfc0c
[fix][test] SchemaMap in AutoConsumeSchema has been reused (#22500)
Denovo1998 Apr 16, 2024
4ca4e28
[improve] Make the config `metricsBufferResponse` description more ef…
dao-jun Apr 16, 2024
d5b36da
[improve][broker] Add topic name to emitted error messages. (#22506)
dao-jun Apr 16, 2024
1dd82a0
[improve][broker] Repeat the handleMetadataChanges callback when conf…
hanmz Apr 17, 2024
94f6c7c
[improve][broker] Optimize gzip compression for /metrics endpoint by …
lhotari Apr 17, 2024
8ca01cd
[improve][admin] Align the auth and check it at the first place for …
Technoboy- Apr 17, 2024
56970b7
[improve][test] Move ShadowManagedLedgerImplTest to flaky tests (#22526)
lhotari Apr 17, 2024
d0b9d47
[fix][broker] Check the broker is available for the SLA monitor bundl…
Demogorgon314 Apr 18, 2024
72474d7
[fix][broker] Fix a deadlock in SystemTopicBasedTopicPoliciesService …
heesung-sn Apr 18, 2024
990b8d0
[improve][build] Upgrade OWASP Dependency check version to 9.1.0 (#22…
lhotari Apr 18, 2024
7acbc4c
[improve] Run Trivy image scanner with the current image (#22386)
merlimat Apr 18, 2024
7aedb6b
[fix][broker] Fix typos in Consumer class (#22532)
hanmz Apr 18, 2024
2badcf6
[fix][broker] Fix NPE causing dispatching to stop when using Key_Shar…
poorbarcode Apr 19, 2024
fbf4cb7
[improve][offload] Apply autoSkipNonRecoverableData configuration to …
shibd Apr 19, 2024
59daac6
[fix][broker] Fix broken topic policy implementation compatibility wi…
rdhabalia Apr 19, 2024
21647a1
[fix] Bump golang.org/x/net from 0.17.0 to 0.23.0 in /pulsar-function…
dependabot[bot] Apr 20, 2024
4a88721
[improve][broker] Support X-Forwarded-For and HA Proxy Protocol for r…
lhotari Apr 22, 2024
3a0f908
[improve][test] Add topic policy test for topic API (#22546)
Technoboy- Apr 22, 2024
e81f370
[fix][offload] Increase file upload limit from 2048MiB to 4096MiB for…
lhotari Apr 22, 2024
35599b7
[fix][ml] Fix NPE of getValidPositionAfterSkippedEntries when recover…
coderzc Apr 22, 2024
a037fa3
[improve][misc] Upgrade to Bookkeeper 4.17.0 (#22551)
lhotari Apr 22, 2024
c72c135
[improve] Update Oxia client to 0.1.6 (#22525)
merlimat Apr 22, 2024
4924052
[fix] [broker] Part-1: Replicator can not created successfully due to…
poorbarcode Apr 23, 2024
882ce41
[improve][broker] Apply loadBalancerDebugModeEnabled in LeastResource…
BewareMyPower Apr 23, 2024
7fe92ac
[fix][broker] Support lookup options for extensible load manager (#22…
Demogorgon314 Apr 23, 2024
358c7cc
[fix][ci] Don't allow merging PR without successful result (#22563)
lhotari Apr 23, 2024
89b201e
[improve][broker] Make BrokerSelectionStrategy pluggable (#22553)
BewareMyPower Apr 23, 2024
d5c7231
[fix][admin] Fix can't delete tenant for v1 (#22550)
Technoboy- Apr 23, 2024
77a99ed
[fix] Include swagger annotations in shaded client lib (#22570)
merlimat Apr 24, 2024
a3cd1f8
[fix][io] CompressionEnabled didn't work on elasticsearch sink (#22565)
shibd Apr 24, 2024
d475655
[improve] [broker] Create partitioned topics automatically when enabl…
poorbarcode Apr 24, 2024
b774666
[fix] [broker] Part-2: Replicator can not created successfully due to…
poorbarcode Apr 24, 2024
0c097ef
[improve][misc] Upgrade slf4j to 2.0.13 (#22391)
nodece Apr 25, 2024
997c8b9
[fix][broker] Fix BufferOverflowException and EOFException bugs in /m…
lhotari Apr 25, 2024
6a94231
[improve][ci] Disable test that causes OOME until the problem has bee…
lhotari Apr 25, 2024
3de14c5
[fix][test] Clear fields in test cleanup to reduce memory consumption…
lhotari Apr 25, 2024
f25776d
[fix][admin] Fix namespace admin api exception response (#22587)
coderzc Apr 26, 2024
69a600e
[improve][admin] Check if the topic existed before the permission ope…
Technoboy- Apr 26, 2024
d19860c
[cleanup] [test] remove useless TestAuthorizationProvider2 (#22595)
thetumbled Apr 26, 2024
69839c7
[improve][meta] Log a warning when ZK batch fails with connectionloss…
lhotari Apr 26, 2024
3b9602c
[improve][broker] Propagate cause exception in TopicBusyException whe…
lhotari Apr 26, 2024
f411e3c
[fix][broker] Avoid being stuck when closing the broker with extensib…
BewareMyPower Apr 26, 2024
f8f256c
[fix][broker] Continue closing even when executor is shut down (#22599)
lhotari Apr 26, 2024
7a44c80
[improve][broker] Close TopicPoliciesService to allow Pulsar broker g…
lhotari Apr 26, 2024
8323a3c
[improve][broker] Don't use forkjoin pool by default for deleting par…
lhotari Apr 26, 2024
bf5d6aa
[improve][broker] perf: Reduce stickyHash calculations of non-persist…
dlg99 Apr 26, 2024
5d9ccd4
[fix][test] Flaky-test: ManagedLedgerTest.testTimestampOnWorkingLedge…
shibd Apr 27, 2024
1bb9378
[improve][test] Add policy authentication test for namespace API (#22…
coderzc Apr 28, 2024
a761b97
[fix][broker] Reader stuck after call hasMessageAvailable when enable…
shibd Apr 28, 2024
264722f
[fix][test] Fix the flaky tests of ManagedLedgerImplUtilsTest (#22611)
codelipenghui Apr 29, 2024
93afd89
[fix][broker] One topic can be closed multiple times concurrently (#1…
poorbarcode Apr 29, 2024
6fdc0e3
[fix] [test] Fix flaky test ReplicatorTest (#22594)
poorbarcode Apr 29, 2024
340d60d
[fix] [broker] Fix metrics pulsar_topic_load_failed_count is 0 when l…
poorbarcode Apr 29, 2024
0fb1a71
[improve][ci] Upgrade deprecated GitHub Actions to supported versions…
lhotari Apr 30, 2024
d067efc
[fix][fn]make sure the classloader for ContextImpl is `functionClassL…
freeznet May 1, 2024
084daf0
[improve][storage] Periodically rollover Cursor ledgers (#22622)
eolivelli May 1, 2024
7daebaa
[fix][ci] Fix labeler GitHub Actions workflow, adapt to v5 configurat…
lhotari May 1, 2024
a904863
[fix] Test was leaving client instance to null (#22631)
merlimat May 1, 2024
4f3cc6c
[feat][broker] PIP-264: Add topic messaging metrics (#22467)
dragosvictor May 1, 2024
6f75569
[improve][cli] PIP-343: Refactor pulsar-perf to subcommand (#22388)
crossoverJie May 2, 2024
bc44280
[fix][sec] Upgrade aws-sdk.version to avoid CVE-2024-21634 (#22633)
nikhilerigila09 May 2, 2024
41f633f
[fix][misc] NPE during standalone shutdown (#22636)
nicoloboschi May 2, 2024
0219921
[fix] [client] Fix Consumer should return configured batch receive ma…
rdhabalia May 2, 2024
d12f623
[improve][build] Use slf4j-bom to align slf4j versions (#22646)
lhotari May 3, 2024
7a8c454
[improve][broker] Add logging to leader election (#22645)
lhotari May 3, 2024
4a59536
[fix][sec] Upgrade Debezium oracle connector version to avoid CVE-202…
nikhilerigila09 May 3, 2024
3ca4ddf
[fix][sec] Upgrade elasticsearch-java version to avoid CVE-2023-4043 …
nikhilerigila09 May 3, 2024
2821afa
[improve][build] Upgrade OTel library versions (#22649)
lhotari May 3, 2024
eee3694
[fix][storage] ReadonlyManagedLedger initialization does not fill in …
gvanyao May 4, 2024
efcedf6
[fix][io] Fix es index creation (#22654)
nodece May 6, 2024
025354e
[fix][test] Clear MockedPulsarServiceBaseTest fields to prevent test …
lhotari May 6, 2024
1e19190
[fix][broker] Fix thread safety of loadSheddingTask and loadResourceQ…
lhotari May 7, 2024
c30765e
[improve][broker] Exclude producers for geo-replication from publishe…
massakam May 7, 2024
a7e1fcd
[fix] [ml] Mark delete stuck due to switching cursor ledger fails (#2…
poorbarcode May 7, 2024
7e88463
[fix] Fix Reader can be stuck from transaction aborted messages. (#22…
dao-jun May 7, 2024
8167554
[improve][test] Clear fields in AuthZTest classes at cleanup (#22661)
lhotari May 7, 2024
09364a9
[improve] Upgrade to Oxia client 0.2.0 (#22663)
merlimat May 7, 2024
788b5ae
[feat][broker] PIP-264: Add Java runtime metrics (#22616)
dragosvictor May 7, 2024
83b86ab
[improve] Retry re-validating ResourceLock with backoff after errors …
merlimat May 7, 2024
519d8e2
[fix][broker] Add the missed opentelemetry-sdk-testing dependency to …
BewareMyPower May 7, 2024
5ff0fb9
[fix][broker] Disable system topic message deduplication (#22582)
mattisonchao May 8, 2024
e2feec8
[improve][broker] Disable JFR metric reporting in OpenTelemetry (#22669)
dragosvictor May 8, 2024
80d4675
[improve][ws] Add memory limit configuration for Pulsar client used i…
lhotari May 8, 2024
3114199
[fix][broker] avoid offload system topic (#22497)
mattisonchao May 8, 2024
188355b
[fix][admin] Fix deprecated check (#22653)
nodece May 8, 2024
ca44b9b
Revert "[fix][sec] Upgrade Debezium oracle connector version to avoid…
lhotari May 8, 2024
5ab0512
[fix] [broker] rename to changeMaxReadPositionCount (#22656)
thetumbled May 8, 2024
ada31a9
[fix] [broker] Fix nothing changed after removing dynamic configs (#2…
poorbarcode May 8, 2024
ad75e3f
[improve][broker] Remove unused method CompactionRecord.reset (#22670)
dragosvictor May 8, 2024
88feb87
[fix][ml] Remove duplicated field initialization of ML (#22676)
dao-jun May 9, 2024
8f015d8
[fix][broker] usedLocallySinceLastReport should always be reset (#22672)
nodece May 9, 2024
bd4c57d
[fix][broker] Fix geo-replication admin client url (#22584)
Demogorgon314 May 9, 2024
566330c
[fix][offload] Fix OOM in tiered storage, caused by unbounded offsets…
lhotari May 9, 2024
03a4995
[improve][offload] Replace usage of shaded class in OffsetsCache (#22…
lhotari May 9, 2024
0fd223d
[improve] [pip] PIP-349: Add additionalSystemCursorNames ignore list …
hangc0276 May 9, 2024
bed032e
[improve] [broker] Add additionalSystemCursorNames ignore list for TT…
hangc0276 May 9, 2024
253e650
[fix][broker] Fix ProducerBusy issue due to incorrect userCreatedProd…
hrzzzz May 9, 2024
ff4853e
[fix] [broker] Fix configurationMetadataSyncEventTopic is marked supp…
poorbarcode May 10, 2024
774a5d4
[fix][broker] Fix cursor should use latest ledger config (#22644)
nodece May 10, 2024
b7ec89a
[fix] [doc] fix the class name of transaction exception. (#22687)
thetumbled May 10, 2024
b56f238
[fix][client] Fix ReaderBuilder doest not give illegalArgument on con…
rdhabalia May 10, 2024
2cfd959
[fix][sec] Upgrade postgresql version to avoid CVE-2024-1597 (#22635)
nikhilerigila09 May 10, 2024
d77c5de
[improve] [log] Print source client addr when enabled haProxyProtocol…
poorbarcode May 10, 2024
e558cfe
[feat][broker] PIP-264: Add OpenTelemetry consumer metrics (#22693)
dragosvictor May 10, 2024
3b24b6e
[fix][misc] Correct the description of patternAutoDiscoveryPeriod (#2…
jitokim May 13, 2024
16556fa
[improve] [pip] PIP-348: Trigger offload on topic load stage (#22650)
hangc0276 May 13, 2024
936afec
[improve][broker]Ensure namespace deletion doesn't fail (#22627)
eolivelli May 13, 2024
9fd1b61
[fix][broker] fix replicated subscriptions for transactional messages…
thetumbled May 13, 2024
9668674
[improve][build] Improve docker-push (#22702)
nodece May 13, 2024
1a7ada8
[improve][build] Bump version to 3.4.0-SNAPSHOT (#22700)
coderzc May 14, 2024
9f1325a
[fix] [broker] fix typo and useless local variable. (#22704)
thetumbled May 14, 2024
7468928
[improve][pip] PIP-327: Support force topic loading for unrecoverable…
rdhabalia May 14, 2024
3d26079
[improve][pip] PIP-347: add role field in consumer's stat (#22564)
thetumbled May 14, 2024
361156e
[improve][pip] PIP-350: Allow to disable the managedLedgerOffloadDele…
zymap May 15, 2024
22a9023
[cleanup][broker] Remove warn logs when changing the state from Owned…
BewareMyPower May 15, 2024
7befb8d
[improve][build] Support custom image and label names (#22703)
nodece May 15, 2024
f07b3a0
[improve] [broker] [break change] Do not create partitioned DLQ/Retry…
poorbarcode May 15, 2024
f3e52b5
[improve][pip] PIP-347: Add role field in consumer's stat (#22562)
thetumbled May 16, 2024
101aee4
[fix][schema] Error checking schema compatibility on a schema-less to…
shibd May 16, 2024
73fd61d
[improve][offload] Allow to disable the managedLedgerOffloadDeletionL…
zymap May 16, 2024
4e132d3
[improve] [test] Add a test to guarantee the TNX topics will not be r…
poorbarcode May 16, 2024
fd5916c
[fix][broker] Make ExtensibleLoadManagerImpl.getOwnedServiceUnits asy…
heesung-sn May 17, 2024
23d5e12
[improve] [broker] Do not call cursor.isCursorDataFullyPersistable if…
poorbarcode May 17, 2024
528c4b0
[fix][build] Fix CVE-2024-2511 by upgrading to OpenSSL in docker imag…
merlimat May 17, 2024
edde408
[fix][build] Add curl command for pulsar image (#22732)
coderzc May 17, 2024
0c6f248
[fix][build] Fixed creation of `packages-storage` directory in docker…
merlimat May 17, 2024
e35c00e
[fix][offload] Break the fillbuffer loop when met EOF (#22722)
zymap May 17, 2024
400a286
[improve] [broker] Trigger offload on topic load (#22652)
hangc0276 May 17, 2024
158960a
[fix][test] Fix flaky AuthorizationTest.testGetListWithGetBundleOp (#…
lhotari May 17, 2024
2308f27
[fix][build] Fix pulsar-client-python installation on ARM arch (#22733)
nodece May 17, 2024
4593cc3
[improve][build] Remove invalid relativePath definitions in pom.xml f…
lhotari May 18, 2024
6372b9c
[fix] [broker] fix deadlock when disable topic level Geo-Replication …
poorbarcode May 19, 2024
9c60134
[improve][cli] Supports creating tokens with additional headers (#22690)
coderzc May 20, 2024
47fd1a3
[improve][test] Restart broker in SimpleProducerConsumerTest if ns de…
lhotari May 20, 2024
b5bc390
[fix][ml]: subscription props could be lost in case of missing ledger…
nicoloboschi May 20, 2024
878a412
[improve][client] Deprecate `MessageIdUtils.getOffset` and `MessageId…
RobertIndie May 21, 2024
ae9616b
[fix] [ml] Add entry fail due to race condition about add entry faile…
poorbarcode May 21, 2024
a66ff17
[improve][broker] Close protocol handlers before unloading namespace …
BewareMyPower May 21, 2024
949260f
[fix][broker] Immediately tombstone Deleted and Free state bundles (#…
heesung-sn May 21, 2024
ce99986
[improve] Allow to construct Oxia metadata-store directly from a clie…
merlimat May 22, 2024
adad1fb
[improve][broker] Clear thread local BrokerEntryMetadata instance bef…
lhotari May 22, 2024
13806d7
[fix] [conf] fix typo for TransferShedder. (#22757)
thetumbled May 22, 2024
dd35981
[fix] Upgrade Alpine packages at build time to fix CVE-2023-4236 (#22…
merlimat May 22, 2024
99bff72
[fix][test] Fix flaky test testShadowWrites (#22745)
RobertIndie May 23, 2024
951eb51
[fix][cli] Remove defaultValue of tenant/namespace for CmdFunctions (…
coderzc May 23, 2024
4e5c0bc
[fix] [client] PIP-344 Do not create partitioned metadata when callin…
poorbarcode May 23, 2024
2db2e76
[improve][PIP] PIP-353: Improve transaction message visibility for pe…
shibd May 24, 2024
9d9b8df
[fix][admin][part-1]Clearly define REST API on Open API (#22774)
shibd May 26, 2024
aa230bc
[fix][admin] Tenant AdminRoles can not contains whitespace in the beg…
falser101 May 27, 2024
3534cdd
[improve] [pip] PIP-354: apply topK mechanism to ModularLoadManagerIm…
thetumbled May 27, 2024
9b3876d
[fix][admin] Clearly define REST API on Open API for Namesaces@v2 (#2…
shibd May 27, 2024
ba20e02
[fix][admin] Clearly define REST API on Open API (#22783)
shibd May 27, 2024
c25d7b2
[fix][admin] Clearly define REST API on Open API for Topics (#22782)
shibd May 27, 2024
f5a00d8
[improve] [pip] PIP-354: apply topK mechanism to ModularLoadManagerIm…
thetumbled May 28, 2024
55ad4b2
[fix] [broker] fix topic partitions was expanded even if disabled top…
poorbarcode May 28, 2024
20e83b9
[improve][cli] PIP-353: Improve transaction message visibility for pe…
shibd May 28, 2024
b0e8fe9
[fix] [broker] replace loadSheddingPipeline with loadSheddingStrategy…
thetumbled May 28, 2024
82025b8
[improve][broker] avoid creating new objects when intercepting (#22790)
mattisonchao May 28, 2024
60b9f87
[improve][broker] Remove ClassLoaderSwitcher to avoid objects allocat…
dao-jun May 29, 2024
5a7efd8
[fix][broker] EntryFilters fix NoClassDefFoundError due to closed cla…
eolivelli May 29, 2024
43b20c3
[improve] [pip] PIP-356: Support Geo-Replication starts at earliest p…
poorbarcode May 30, 2024
2b1630e
Revert "[improve] [pip] PIP-356: Support Geo-Replication starts at ea…
poorbarcode May 30, 2024
34898e3
[fix][broker] fix can not cleanup heartbeat data if scaling down brok…
TakaHiR07 May 30, 2024
87a3339
[improve] [client] improve the class GetTopicsResult (#22766)
poorbarcode May 30, 2024
60ebab4
[cleanup] [broker] remove DeviationShedder. (#22800)
thetumbled May 30, 2024
7ad157c
[improve] Upgrade to Oxia client 0.3.0 (#22807)
zymap May 30, 2024
c39f9f8
[fix][ml] Fix race conditions in RangeCache (#22789)
lhotari May 31, 2024
e731674
[improve][ml] RangeCache refactoring: test race conditions and preven…
lhotari May 31, 2024
7b8f4a9
[fix][ci] Fix snappy-java native lib fails to load in x86 alpine (#22…
yaalsn Jun 3, 2024
6701936
[fix] [broker] Fix doc of ThresholdShedder and remove useless method.…
thetumbled Jun 3, 2024
2c3909c
[fix] [broker] maintain last active info in memory only. (#22794)
thetumbled Jun 3, 2024
274a3cb
[improve] [pip] PIP-356: Support Geo-Replication starts at earliest p…
poorbarcode Jun 3, 2024
a6cee2b
[feat][broker] PIP-264: Add schema registry metrics (#22624)
dragosvictor Jun 3, 2024
245c3e8
[fix][cli] Fix expiration of tokens created with "pulsar tokens creat…
entvex Jun 3, 2024
208d8a5
[improve][ml] RangeCache refactoring follow-up: use StampedLock inste…
lhotari Jun 3, 2024
05d98f7
[fix][sec] Upgrade Bouncycastle libraries to address CVEs (#22826)
lhotari Jun 3, 2024
2c2ecab
[improve][misc] Upgrade OTel library to 1.38.0 version (#22825)
lhotari Jun 3, 2024
91781d5
[fix] Bump io.airlift:aircompressor from 0.20 to 0.27 (#22819)
dependabot[bot] Jun 3, 2024
b091081
[fix] Removing out of the box option for Java serde in functions (#22…
merlimat Jun 4, 2024
ca8b465
[improve] Validate user paths in Functions utils (#22833)
merlimat Jun 4, 2024
2532fbd
[fix] JWT CLI util should force the token validation (#22831)
merlimat Jun 4, 2024
02fd1ee
[fix] [broker] disable loadBalancerDirectMemoryResourceWeight by defa…
thetumbled Jun 4, 2024
9454985
[fix] [conf] fix configuration name and typo. (#22822)
thetumbled Jun 4, 2024
7529357
[improve] Validate range of argument before long -> int conversion (#…
merlimat Jun 4, 2024
be5eb91
[improve] Upgrade Jetcd to 0.7.7 and VertX to 4.5.8 (#22835)
merlimat Jun 4, 2024
30069db
[improve] Use Google re2/j library for user provided regexes (#22829)
merlimat Jun 4, 2024
bb95b85
[fix] Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /pulsa…
dependabot[bot] Jun 4, 2024
8276f21
[improve][broker] Reduce number of OpenTelemetry consumer attributes …
dragosvictor Jun 4, 2024
342d88d
[fix] [broker] disable loadBalancerMemoryResourceWeight by default (#…
thetumbled Jun 5, 2024
aece67e
[fix] Remove blocking calls from BookieRackAffinityMapping (#22846)
merlimat Jun 5, 2024
326e9fa
[fix] [broker] Fix Broker was failing to load stats-internal with bro…
rdhabalia Jun 5, 2024
7419287
[fix][meta] Check if metadata store is closed in RocksdbMetadataStore…
lhotari Jun 5, 2024
c23e677
[improve][build] Support git worktree working directory while buildin…
lhotari Jun 5, 2024
4341f0f
[feat][broker] PIP-264: Add broker web executor metrics (#22816)
dragosvictor Jun 5, 2024
d74010c
[improve] Refactored BK ClientFactory to return futures (#22853)
merlimat Jun 6, 2024
6236116
[improve] [client] PIP-344 support feature flag supportsGetPartitione…
poorbarcode Jun 6, 2024
fb03d15
[improve][ci] Add arm64 image build (#22755)
nodece Jun 6, 2024
fb80007
[improve] [pip] PIP-357: Correct the conf name in load balance module…
thetumbled Jun 6, 2024
9326a08
[fix][broker] Fix NPE after publishing a tombstone to the service uni…
BewareMyPower Jun 7, 2024
9692b67
[improve] [pip] PIP-357: Correct the conf name in load balance module…
thetumbled Jun 7, 2024
c81c0f6
[fix][cli] Fix the shell script parameter passthrough syntax (#22867)
lhotari Jun 7, 2024
6f1f7ba
[fix] [test] fix testGetMetrics in ExtensibleLoadManagerImplTest. (#2…
thetumbled Jun 7, 2024
c5cc25e
[fix][cli] Fix Pulsar standalone shutdown - bkCluster wasn't closed (…
lhotari Jun 7, 2024
d6dc4d3
[fix][misc] Disable JFR based telemetry collection since it's not use…
lhotari Jun 7, 2024
80d1cf9
[fix][cli] Fix healthcheck script pulsar-zookeeper-ruok.sh (#22873)
lhotari Jun 7, 2024
5af0595
[fix][broker] Support advertised listeners when gracefully transferri…
heesung-sn Jun 7, 2024
e31dbdd
[improve][build] Require Java 17 or Java 21 for building Pulsar (#22875)
lhotari Jun 7, 2024
5a8db36
[improve][broker] Reuse topic OpenTelemetry attributes (#22876)
dragosvictor Jun 7, 2024
e236f49
[fix][misc] Add proper nslookup (included in bind-tools) to docker im…
lhotari Jun 7, 2024
ef6fbf4
[improve][ci] Migrate from Gradle Enterprise to Develocity (#22880)
lhotari Jun 8, 2024
30f7835
[fix][build] Add re2/j dependency to pulsar-common and client shading…
lhotari Jun 9, 2024
540134c
[improve][pip] PIP-351: Additional options for Pulsar-Test client to …
shasank112001 Jun 10, 2024
f6eceed
[fix][cli] Fix Pulsar standalone "--wipe-data" (#22885)
lhotari Jun 10, 2024
f17d90e
[improve] Upgrade IPAddress to 5.5.0 (#22886)
merlimat Jun 10, 2024
c326d8e
[fix][misc] Topic name from persistence name should decode local name…
Shawyeok Jun 11, 2024
6b76544
[improve] [pip] PIP-355: Enhancing Broker-Level Metrics for Pulsar (#…
hangc0276 Jun 11, 2024
266243c
[improve][broker] Optimize PersistentTopic.getLastDispatchablePositio…
dao-jun Jun 11, 2024
1770cbc
[improve] [broker] Fail fast when it failed to create LoadSheddingStr…
thetumbled Jun 12, 2024
c724f02
[improve] [broker] PIP-355: Enhancing Broker-Level Metrics for Pulsar…
hangc0276 Jun 12, 2024
75d7e55
[improve][misc] Upgrade to Netty 4.1.111.Final and switch to use grpc…
lhotari Jun 12, 2024
a91a172
[fix][broker] The topic might reference a closed ledger (#22860)
shibd Jun 13, 2024
411f697
[improve][misc] Replace dependencies on PositionImpl with Position in…
lhotari Jun 13, 2024
c2702e9
[fix][broker] Asynchronously return brokerRegistry.lookupAsync when c…
heesung-sn Jun 13, 2024
f7d35e5
[improve][meta] Fix invalid use of drain API and race condition in cl…
lhotari Jun 14, 2024
7a21918
[fix][cli] Fix the pulsar-daemon parameter passthrough syntax (#22905)
coderzc Jun 14, 2024
6831231
[fix][broker] Fix topic status for oldestBacklogMessageAgeSeconds con…
shibd Jun 14, 2024
f122817
[fix] [broker] Fix typo in PersistentTopicsBase (#22904)
richiefanfan Jun 14, 2024
f83dbe9
[feat][broker] PIP-264: Add OpenTelemetry producer metrics (#22882)
dragosvictor Jun 15, 2024
1dcd07b
[fix][misc] Correct the comment of tlsAllowInsecureConnection in Clus…
jitokim Jun 16, 2024
1a6254a
[feat][broker] PIP-264: Enable OpenTelemetry reusable data memory mod…
dragosvictor Jun 16, 2024
fa74538
[fix] Revert "[fix][cli] Fix the shell script parameter passthrough s…
coderzc Jun 17, 2024
9f8adc5
[improve] [pip] PIP-358: let resource weight work for OverloadShedder…
thetumbled Jun 17, 2024
dfbf05a
[fix] [broker] fix unload bundle count metric. (#22895)
thetumbled Jun 17, 2024
7020ea2
[improve][misc] Bump RoaringBitmap version to 1.0.6 (#22920)
dao-jun Jun 17, 2024
f3d4d5a
[fix][fn] Enable optimized Netty direct byte buffer support for Pulsa…
lhotari Jun 17, 2024
9aed736
[fix] [broker] response not-found error if topic does not exist when …
poorbarcode Jun 17, 2024
2dc0d96
[fix][test] Fix TableViewBuilderImplTest NPE and infinite loop (#22924)
lhotari Jun 17, 2024
b46221b
fix: PIP-282 introduce the last sent position to keep message orderin…
equanz Jan 22, 2024
8b427b3
test: add test cases about the last sent position and individually se…
equanz Jan 22, 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
  •  
  •  
  •  
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/**'
6 changes: 3 additions & 3 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 @@ -79,13 +79,13 @@ jobs:

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
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ 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:
Expand Down Expand Up @@ -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
9 changes: 5 additions & 4 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ 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:
run-owasp-dependency-check:
Expand All @@ -50,15 +51,15 @@ jobs:

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
uses: actions/cache@v4
timeout-minutes: 5
with:
path: |
Expand All @@ -72,9 +73,9 @@ jobs:
${{ 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
Expand Down
2 changes: 1 addition & 1 deletion .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 Down
88 changes: 88 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#
# 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: "CodeQL"

on:
push:
branches: [ 'master' ]
schedule:
- cron: '27 21 * * 4'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

env:
JDK_DISTRIBUTION: corretto

jobs:
analyze:
# only run scheduled analysis in apache/pulsar repository
if: ${{ (github.event_name == 'schedule' && github.repository == 'apache/pulsar') || github.event_name != 'schedule' }}
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
language: [ 'java-kotlin' ]

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

- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: 17

- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Build Java code
run: |
mvn -B -ntp -Pcore-modules,-main install -DskipTests -Dlicense.skip=true -Drat.skip=true -Dcheckstyle.skip=true

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
13 changes: 8 additions & 5 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
pull_request:
branches:
- master
- branch-*
- pulsar-*
schedule:
# scheduled job with JDK 17
- cron: '0 12 * * *'
Expand Down Expand Up @@ -68,6 +70,7 @@ env:
# 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
ARTIFACT_RETENTION_DAYS: 3
JDK_DISTRIBUTION: corretto

jobs:
preconditions:
Expand Down Expand Up @@ -102,7 +105,7 @@ jobs:

- name: checkout
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Detect changed files
if: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -156,7 +159,7 @@ jobs:
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 @@ -174,7 +177,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 @@ -185,9 +188,9 @@ jobs:
${{ runner.os }}-m2-dependencies-core-modules-

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

- name: Build core-modules
Expand Down
Loading
Loading