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

[improve][broker] PIP-192: Implement load data store #6

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
62a2058
[improve][sec] Suppress false positive OWASP reports (#19105)
tisonkun Dec 29, 2022
c13f389
[refactor] Remove docs from the main repo (#19100)
tisonkun Dec 29, 2022
c611a1a
[fix][broker] Fix estimateBacklogFromPosition if position is greater …
AnonHxy Dec 30, 2022
ed33fb3
[fix][ci] Fix pulsar shell license issue (#19101)
Technoboy- Dec 30, 2022
36cff70
[fix][cli] Fix wrong description of pulsar-admin flags (#19108)
maxsxu Dec 30, 2022
e194c01
[improve][admin,broker] Add option to unloadNamespaceBundle with bund…
vineeth1995 Dec 31, 2022
b3f3e0b
[fix][admin] Keep new inputSpecs when updating sink configs (#19082)
aymkhalil Jan 2, 2023
1736396
[fix][sec] Upgrade jettison to 1.5.3 (#19038)
nicoloboschi Jan 2, 2023
f912fb3
[fix][build] Resolve OWASP Dependency Check false positives (#19120)
lhotari Jan 2, 2023
9ec1d07
[feat][broker][PIP-195]Implement Filter out all delayed messages and …
coderzc Jan 3, 2023
a2ec02d
[cleanup][broker] Fix ClusterDataImpl#clone and add test (#19126)
michaeljmarshall Jan 4, 2023
3bb93cb
[fix][broker][PIP-195] fix cursor skip read (#19124)
coderzc Jan 4, 2023
8790ed1
[fix][monitor] Fix the partitioned publisher topic stat aggregation b…
heesung-sn Jan 4, 2023
a6516a8
[fix][broker] Topic could be in fenced state forever if deletion fail…
nicoloboschi Jan 4, 2023
3afc291
[improve][schema] Do not print error log with stacktrace for 404 (#19…
codelipenghui Jan 5, 2023
4b8f447
[feat][broker][PIP-195] Implement BucketDelayedDeliveryTrackerFactory…
coderzc Jan 5, 2023
593fcb8
[improve][io] Elasticsearch sink: Support loading config from secrets…
Jan 5, 2023
4028ad3
[improve][ci] Improve CI ssh access in forks, don't fail build if set…
lhotari Jan 5, 2023
c862356
[revert] "[fix][broker] change name limitTime to limitTimeInSec (#190…
michaeljmarshall Jan 8, 2023
badd69b
[fix][broker] fix ttl expiration block due to no-recoverable exceptio…
aloyszhang Jan 8, 2023
96f8262
[improve][broker] Add oshi library to help control OS resources. (#18…
mattisonchao Jan 9, 2023
56a7b89
[fix][broker] Reject create non existent persistent partitions. (#19086)
mattisonchao Jan 9, 2023
b05fddb
[improve][admin]internalGetMessageById shouldn't be allowed on partit…
gaozhangmin Jan 9, 2023
6335fa1
[cleanup][txn] Use MLTransactionMetadataStore in integration tests (#…
nicoloboschi Jan 9, 2023
e829672
[improve][broker] Add parameter check for create/update cluster. (#19…
mattisonchao Jan 9, 2023
dbd6a14
Implement load data store for new load manager
Demogorgon314 Dec 6, 2022
a1bd8c4
Add test group
Demogorgon314 Dec 13, 2022
3b8e695
Fix compile error
Demogorgon314 Jan 10, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 15 additions & 1 deletion .github/actions/ssh-access/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,22 @@ runs:
tmux set -t upterm window-size largest
echo '::endgroup::'
echo -e "\nSSH connection information"
# wait up to 10 seconds for upterm admin socket to appear
for i in {1..10}; do
ADMIN_SOCKET=$(find $HOME/.upterm -name "*.sock")
if [ ! -S "$ADMIN_SOCKET" ]; then
echo "Waiting for upterm admin socket to appear in ~/.upterm/*.sock ..."
sleep 1
else
echo "upterm admin socket available in $ADMIN_SOCKET"
break
fi
done
shopt -s nullglob
upterm session current --admin-socket ~/.upterm/*.sock
upterm session current --admin-socket ~/.upterm/*.sock || {
echo "Starting upterm failed."
exit 0
}
elif [[ "${{ inputs.action }}" == "wait" ]]; then
# only wait if upterm was installed
if command -v upterm &>/dev/null; then
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -184,6 +185,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -285,6 +287,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -383,6 +386,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -512,6 +516,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -547,13 +552,13 @@ jobs:
run: |
# build docker image
# include building of Pulsar SQL, Connectors, Offloaders and server distros
mvn -B -am -pl pulsar-sql/presto-distribution,distribution/io,distribution/offloaders,distribution/server,tests/docker-images/latest-version-image install \
mvn -B -am -pl pulsar-sql/presto-distribution,distribution/io,distribution/offloaders,distribution/server,distribution/shell,tests/docker-images/latest-version-image install \
-Pmain,docker -Dmaven.test.skip=true -Ddocker.squash=true \
-Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true

# check full build artifacts licenses
- name: Check binary licenses
run: src/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gz
run: src/check-binary-license.sh ./distribution/server/target/apache-pulsar-*-bin.tar.gz && src/check-binary-license.sh ./distribution/shell/target/apache-pulsar-shell-*-bin.tar.gz

- name: Clean up disk space
run: |
Expand Down Expand Up @@ -638,6 +643,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -749,6 +755,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down Expand Up @@ -903,6 +910,7 @@ jobs:
# ssh access is enabled for builds in own forks
if: ${{ github.repository != 'apache/pulsar' && github.event_name == 'pull_request' }}
uses: ./.github/actions/ssh-access
continue-on-error: true
with:
limit-access-to-actor: true

Expand Down
54 changes: 29 additions & 25 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@ The Apache Software License, Version 2.0
- org.apache.logging.log4j-log4j-core-2.18.0.jar
- org.apache.logging.log4j-log4j-slf4j-impl-2.18.0.jar
- org.apache.logging.log4j-log4j-web-2.18.0.jar
* Java Native Access JNA -- net.java.dev.jna-jna-5.12.1.jar
* Java Native Access JNA
- net.java.dev.jna-jna-5.12.1.jar
- net.java.dev.jna-jna-jpms-5.12.1.jar
- net.java.dev.jna-jna-platform-jpms-5.12.1.jar
* BookKeeper
- org.apache.bookkeeper-bookkeeper-common-4.15.3.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.15.3.jar
Expand Down Expand Up @@ -492,30 +495,31 @@ The Apache Software License, Version 2.0

BSD 3-clause "New" or "Revised" License
* Google auth library
- com.google.auth-google-auth-library-credentials-1.4.0.jar -- licenses/LICENSE-google-auth-library.txt
- com.google.auth-google-auth-library-oauth2-http-1.4.0.jar -- licenses/LICENSE-google-auth-library.txt
* LevelDB -- (included in org.rocksdb.*.jar) -- licenses/LICENSE-LevelDB.txt
* JSR305 -- com.google.code.findbugs-jsr305-3.0.2.jar -- licenses/LICENSE-JSR305.txt
* JLine -- jline-jline-2.14.6.jar -- licenses/LICENSE-JLine.txt
* JLine3 -- org.jline-jline-3.21.0.jar -- licenses/LICENSE-JLine.txt
- com.google.auth-google-auth-library-credentials-1.4.0.jar -- ../licenses/LICENSE-google-auth-library.txt
- com.google.auth-google-auth-library-oauth2-http-1.4.0.jar -- ../licenses/LICENSE-google-auth-library.txt
* LevelDB -- (included in org.rocksdb.*.jar) -- ../licenses/LICENSE-LevelDB.txt
* JSR305 -- com.google.code.findbugs-jsr305-3.0.2.jar -- ../licenses/LICENSE-JSR305.txt
* JLine -- jline-jline-2.14.6.jar -- ../licenses/LICENSE-JLine.txt
* JLine3 -- org.jline-jline-3.21.0.jar -- ../licenses/LICENSE-JLine.txt

BSD 2-Clause License
* HdrHistogram -- org.hdrhistogram-HdrHistogram-2.1.9.jar -- licenses/LICENSE-HdrHistogram.txt
* HdrHistogram -- org.hdrhistogram-HdrHistogram-2.1.9.jar -- ../licenses/LICENSE-HdrHistogram.txt

MIT License
* Java SemVer -- com.github.zafarkhaja-java-semver-0.9.0.jar -- licenses/LICENSE-SemVer.txt
* SLF4J -- licenses/LICENSE-SLF4J.txt
* Java SemVer -- com.github.zafarkhaja-java-semver-0.9.0.jar -- ../licenses/LICENSE-SemVer.txt
* SLF4J -- ../licenses/LICENSE-SLF4J.txt
- org.slf4j-slf4j-api-1.7.32.jar
- org.slf4j-jcl-over-slf4j-1.7.32.jar
* The Checker Framework
- org.checkerframework-checker-qual-3.12.0.jar

* oshi
- com.github.oshi-oshi-core-java11-6.4.0.jar
Protocol Buffers License
* Protocol Buffers
- com.google.protobuf-protobuf-java-3.19.6.jar -- licenses/LICENSE-protobuf.txt
- com.google.protobuf-protobuf-java-util-3.19.6.jar -- licenses/LICENSE-protobuf.txt
- com.google.protobuf-protobuf-java-3.19.6.jar -- ../licenses/LICENSE-protobuf.txt
- com.google.protobuf-protobuf-java-util-3.19.6.jar -- ../licenses/LICENSE-protobuf.txt

CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
CDDL-1.1 -- ../licenses/LICENSE-CDDL-1.1.txt
* Java Annotations API
- javax.annotation-javax.annotation-api-1.3.2.jar
- com.sun.activation-javax.activation-1.2.0.jar
Expand All @@ -541,25 +545,25 @@ CDDL-1.1 -- licenses/LICENSE-CDDL-1.1.txt
- org.glassfish.jersey.inject-jersey-hk2-2.34.jar
* Mimepull -- org.jvnet.mimepull-mimepull-1.9.13.jar

Eclipse Distribution License 1.0 -- licenses/LICENSE-EDL-1.0.txt
Eclipse Distribution License 1.0 -- ../licenses/LICENSE-EDL-1.0.txt
* Jakarta Activation
- jakarta.activation-jakarta.activation-api-1.2.2.jar
* Jakarta XML Binding -- jakarta.xml.bind-jakarta.xml.bind-api-2.3.3.jar

Eclipse Public License - v2.0 -- licenses/LICENSE-EPL-2.0.txt
Eclipse Public License - v2.0 -- ../licenses/LICENSE-EPL-2.0.txt
* Jakarta Annotations API -- jakarta.annotation-jakarta.annotation-api-1.3.5.jar
* Jakarta RESTful Web Services -- jakarta.ws.rs-jakarta.ws.rs-api-2.1.6.jar
* Jakarta Injection -- org.glassfish.hk2.external-jakarta.inject-2.6.1.jar

Public Domain (CC0) -- licenses/LICENSE-CC0.txt
Public Domain (CC0) -- ../licenses/LICENSE-CC0.txt
* Reactive Streams -- org.reactivestreams-reactive-streams-1.0.3.jar

Creative Commons Attribution License
* Jcip -- licenses/LICENSE-jcip.txt
* Jcip -- ../licenses/LICENSE-jcip.txt
- net.jcip-jcip-annotations-1.0.jar

Bouncy Castle License
* Bouncy Castle -- licenses/LICENSE-bouncycastle.txt
* Bouncy Castle -- ../licenses/LICENSE-bouncycastle.txt
- org.bouncycastle-bcpkix-jdk15on-1.69.jar
- org.bouncycastle-bcprov-ext-jdk15on-1.69.jar
- org.bouncycastle-bcprov-jdk15on-1.69.jar
Expand All @@ -572,22 +576,22 @@ Additionaly, Netty includes code with the following licenses:
Contains a modified portion of 'Webbit', an event based WebSocket and HTTP server, which can be obtained at:

* LICENSE:
* licenses/LICENSE-Webbit.txt (BSD License)
* ../licenses/LICENSE-Webbit.txt (BSD License)
* HOMEPAGE:
* https://github.com/joewalnes/webbit

Contains a modified portion of 'SLF4J', a simple logging facade for Java, which can be obtained at:

* LICENSE:
* licenses/LICENSE-SLF4J.txt (MIT License)
* ../licenses/LICENSE-SLF4J.txt (MIT License)
* HOMEPAGE:
* http://www.slf4j.org/

Contains a modified portion of 'jbzip2', a Java bzip2 compression and decompression library written
by Matthew J. Francis. It can be obtained at:

* LICENSE:
* licenses/LICENSE-jbzip2.txt (MIT License)
* ../licenses/LICENSE-jbzip2.txt (MIT License)
* HOMEPAGE:
* https://code.google.com/p/jbzip2/

Expand All @@ -596,22 +600,22 @@ the suffix array and the Burrows-Wheeler transformed string for any input string
a constant-size alphabet written by Yuta Mori. It can be obtained at:

* LICENSE:
* licenses/LICENSE-libdivsufsort.txt (MIT License)
* ../licenses/LICENSE-libdivsufsort.txt (MIT License)
* HOMEPAGE:
* https://github.com/y-256/libdivsufsort

Contains a modified portion of 'jfastlz', a Java port of FastLZ compression
and decompression library written by William Kinney. It can be obtained at:

* LICENSE:
* licenses/LICENSE-jfastlz.txt (MIT License)
* ../licenses/LICENSE-jfastlz.txt (MIT License)
* HOMEPAGE:
* https://code.google.com/p/jfastlz/

Contains a modified portion of and optionally depends on 'Protocol Buffers', Google's data
interchange format, which can be obtained at:

* LICENSE:
* licenses/LICENSE-protobuf.txt (New BSD License)
* ../licenses/LICENSE-protobuf.txt (New BSD License)
* HOMEPAGE:
* https://github.com/google/protobuf
Loading