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][fn] Make python install dependencies from requirements.txt #12

Closed
wants to merge 121 commits into from

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    cc1e773 View commit details
    Browse the repository at this point in the history
  2. [fix][build] Upgrade Guava to 32.1.2-jre (apache#21090)

    Masahiro Sakamoto authored Aug 30, 2023
    Configuration menu
    Copy the full SHA
    dab5b2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53ffe81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99e3fea View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. [fix] [broker] remove bundle-data in local metadata store. (apache#21078

    )
    
    Motivation: When deleting a namespace, we will delete znode under the path `/loadbalance/bundle-data` in `local metadata store` instead of `global metadata store`.
    
    Modifications: Delete bundle data znode in local metadata store.
    thetumbled authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    4a87c64 View commit details
    Browse the repository at this point in the history
  2. [fix][broker]Fix chunked messages will be filtered by duplicating (ap…

    …ache#20948)
    
    ## Motivation
    Make the chunk message function work properly when deduplication is enabled.
    ## Modification
    ### Only check and store the sequence ID of the last chunk in a chunk message.
     For example:
     ```markdown
         Chunk-1 sequence ID: 0, chunk ID: 0, total chunk: 2
         Chunk-2 sequence ID: 0, chunk ID: 1
         Chunk-3 sequence ID: 1, chunk ID: 0 total chunk: 3
         Chunk-4 sequence ID: 1, chunk ID: 1
         Chunk-5 sequence ID: 1, chunk ID: 1
         Chunk-6 sequence ID: 1, chunk ID: 2
    ```   
    Only store check and store the sequence ID of Chunk-2 and Chunk-6.
    **Add a property in the publishContext to determine whether this chunk is the last chunk when persistent completely.**
    ```java
    publishContext.setProperty(IS_LAST_CHUNK, Boolean.FALSE);
    ```
    ### Filter and ack duplicated chunks in a chunk message instead of discarding ctx.
     For example:
     ```markdown
         Chunk-1 sequence ID: 0, chunk ID: 0, msgID: 1:1
         Chunk-2 sequence ID: 0, chunk ID: 1, msgID: 1:2
         Chunk-3 sequence ID: 0, chunk ID: 2, msgID: 1:3
         Chunk-4 sequence ID: 0, chunk ID: 1, msgID: 1:4
         Chunk-5 sequence ID: 0, chunk ID: 2, msgID: 1:5
         Chunk-6 sequence ID: 0, chunk ID: 3, msgID: 1:6
    ```   
    We should filter and ack chunk-4 and chunk-5.
    liangyepianzhou authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b0b13bc View commit details
    Browse the repository at this point in the history
  3. [fix][io] Allow setting sourceType in config file (apache#19836)

    Signed-off-by: tison <wander4096@gmail.com>
    Co-authored-by: Alexander Preuß <alexander.preuss@streamnative.io>
    Co-authored-by: tison <wander4096@gmail.com>
    3 people authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f1c8684 View commit details
    Browse the repository at this point in the history
  4. [fix][auto-recovery] Improve to the ReplicaitonWorker performance by …

    …deleting invalid underreplication nodes (apache#21059)
    horizonzy authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    ba0f2ba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f35d3e0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eedbdb1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7ecb93c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    64d006b View commit details
    Browse the repository at this point in the history
  9. [improve] [ml] Persist mark deleted ops to ZK if create cursor ledger…

    … was failed (apache#20935)
    
    The progress Persist mark deleted position is like this:
    - persist to BK
    - If failed to persist to BK, try to persist to ZK
    
    But in the current implementation: if the cursor ledger was created failed, Pulsar will not try to persist to ZK. It makes if the cursor ledger created fails, a lot of ack records can not be persisted, and we will get a lot of repeat consumption after the BK recover.
    
    Modifications: Try to persist the mark deleted position to ZK if the cursor ledger was created failed
    poorbarcode authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    843b830 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    0956def View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    835e9b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a25125d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    927d1b2 View commit details
    Browse the repository at this point in the history
  5. [fix][broker] Fix deleting topic not delete the related topic policy …

    …and schema. (apache#21093)
    
    Fixes apache#21075 
    
    ### Motivation
    
    When the topic is loaded, it will delete the topic-level policy if it is enabled. But if the topic is not loaded, it will directly delete through managed ledger factory. But then we will leave the topic policy there. When the topic is created next time, it will use the old topic policy
    
    ### Modifications
    
    When deleting the topic, delete the schema and topic policies even if the topic is not loaded.
    Technoboy- authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    a1405ea View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Configuration menu
    Copy the full SHA
    cb24ab0 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. [fix][client] Avoid ack hole for chunk message (apache#21101)

    ## Motivation
    Handle ack hole case:
    For example:
    ```markdown
                         Chunk-1 sequence ID: 0, chunk ID: 0, msgID: 1:1
                         Chunk-2 sequence ID: 0, chunk ID: 1, msgID: 1:2
                         Chunk-3 sequence ID: 0, chunk ID: 0, msgID: 1:3
                         Chunk-4 sequence ID: 0, chunk ID: 1, msgID: 1:4
                         Chunk-5 sequence ID: 0, chunk ID: 2, msgID: 1:5
    ```
     Consumer ack chunk message via ChunkMessageIdImpl that consists of all the chunks in this chunk
     message(Chunk-3, Chunk-4, Chunk-5). The Chunk-1 and Chunk-2 are not included in the
     ChunkMessageIdImpl, so we should process it here.
    ## Modification
    Ack chunk-1 and chunk-2.
    liangyepianzhou authored Sep 4, 2023
    Configuration menu
    Copy the full SHA
    59a8e72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e59c850 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2921a41 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b26ee8a View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. [fix] [broker] Fix isolated group not work problem. (apache#21096)

    ### Modifications
    When upgraded the pulsar version from 2.9.2 to 2.10.3, and the isolated group feature not work anymore.
    Finally, we found the problem. In IsolatedBookieEnsemblePlacementPolicy, when it gets the bookie rack from the metadata store cache, uses future.isDone() to avoid sync operation. If the future is incomplete, return empty blacklists. 
    The cache may expire due to the caffeine cache `getExpireAfterWriteMillis` config, if the cache expires, the future may be incomplete. (apache#21095 will correct the behavior)
    
    In 2.9.2, it uses the sync to get data from the metadata store, we should also keep the behavior.
    horizonzy authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    abd7bfa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35bb021 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29addaa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c675a3d View commit details
    Browse the repository at this point in the history
  5. [fix][proxy] Fix Proxy 502 gateway error when it is configured with K…

    …eystore TLS and admin API is called (apache#21077)
    Apurva007 authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    674c52a View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    209f222 View commit details
    Browse the repository at this point in the history
  2. [improve][pip] PIP-297: Support terminating Function & Connector with…

    … the fatal exception (apache#21079)
    
    ### Motivation
    
    This PIP is to improve the current function exception handler. It will be applied to both Pulsar Function and Pulsar IO Connector.
    
    For more details, please refer to `pip-297.md`
    RobertIndie authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    88231f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfc7bac View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    3bbd5a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d890432 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3cb7926 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1f8f96 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. [cleanup][build] Bumped version to 3.2.0-SNAPSHOT (apache#21147)

    Signed-off-by: Jiwe Guo <technoboy@apache.org>
    Technoboy- authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e5cf216 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    e9d1d99 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    9f12ace View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e8bf93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    550476f View commit details
    Browse the repository at this point in the history
  4. [fix] [client] fix same producer/consumer use more than one connectio…

    …n per broker (apache#21144)
    
    Motivation: Pulsar has two mechanisms to guarantee that a producer connects to the broker multiple times the result is still correct.
    
    - In a connection, the second connection waits for the first connection to complete.
    - In a topic, the second connection will override the previous one.
    
    However, if a producer can use different connections to connect to the broker, these two mechanisms will not work.
    
    When the config `connectionsPerBroker` of `PulsarClient` is larger than `1`, a producer could use more than one connection, leading to the error above. You can reproduce this issue by the test `testSelectConnectionForSameProducer.`
    
    Modifications: Make the same producer/consumer usage the same connection
    poorbarcode authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    f2b9a3f View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    fc86f3b View commit details
    Browse the repository at this point in the history
  2. [improve][client] Implement getLastMessageIds API for Reader (apache#…

    …21051)
    
    pip: apache#21052
    ### Motivation
    
    Introduce the `getLastMessageIds` API to Reader.
    
    ### Modifications
    
    Implement getLastMessageIds API for Reader
    liangyepianzhou authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d00a35e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b13407d View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    65706c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af20a8a View commit details
    Browse the repository at this point in the history
  3. [fix] [broker] Make specified producer could override the previous one (

    apache#21155)
    
    #### Issue 1
    The client assumed the connection was inactive, but the Broker assumed the connection was fine. The Client tried to  use a new connection to reconnect a producer, then got an error `Producer with name 'st-0-5' is already connected to topic`.
    
    #### Issue 2
    - In a connection, the second connection waits for the first connection to complete\. But there is a bug that causes this mechanism to fail\. 
    - If a producer uses a default name, the second registration will override the first one. But it can not override the first one if it uses a specified producer name\. I think this mechanism is to prevent a client from creating two producers with the same name. However, method `Producer.isSuccessorTo` has checked the `producer-id`, and the `producer-id` of multiple producers created by the same client are different. So this mechanism can be deleted.
    
    ### Modifications
    
    - For `issue 1`: If a producer with the same name tries to use a new connection, async checks the old connection is available. The producers related to the connection that is not available are automatically cleaned up.
    
    - For `issue 2`:
      -  Fix the bug that causes a complete producer future will be removed from `ServerCnx`.
      - Remove the mechanism that prevents a producer with a specified name from overriding the previous producer.
    poorbarcode authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    bda16b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    5918efd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39f2d1d View commit details
    Browse the repository at this point in the history
  3. [improve][io] PIP-297: Support terminating Function & Connector with …

    …the fatal exception (apache#21143)
    
    PIP: apache#21079 
    
    ### Motivation
    
    Currently, the connector and function cannot terminate the function instance if there are fatal exceptions thrown
    outside the function instance thread. The current implementation of the connector and Pulsar Function exception handler
    cannot handle the fatal exceptions that are thrown outside the function instance thread.
    
    For example, suppose we have a sink connector that uses its own threads to batch-sink the data to an external system. If
    any fatal exceptions occur in those threads, the function instance thread will not be aware of them and will
    not be able to terminate the connector. This will cause the connector to hang indefinitely. There is a related issue
    here: apache#9464
    
    The same problem exists for the source connector. The source connector may also use a separate thread to fetch data from
    an external system. If any fatal exceptions happen in that thread, the connector will also hang forever. This issue has
    been observed for the Kafka source connector: apache#9464. We have fixed it by adding
    the notifyError method to the `PushSource` class in PIP-281: apache#20807. However, this
    does not solve the same problem that all source connectors face because not all connectors are implemented based on
    the `PushSource` class.
    
    The problem is same for the Pulsar Function. Currently, the function can't throw fatal exceptions to the function
    framework. We need to provide a way for the function developer to implement it.
    
    We need a way for the connector and function developers to throw fatal exceptions outside the function instance
    thread. The function framework should catch these exceptions and terminate the function accordingly.
    
    ### Modifications
    
     Introduce a new method `fatal` to the context. All the connector implementation code and the function code 
     can use this context and call the `fatal` method to terminate the instance while raising a fatal exception. 
      
     After the connector or function raises the fatal exception, the function instance thread will be interrupted. 
     The function framework then could catch the exception, log it, and then terminate the function instance.
    RobertIndie authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    1ac19fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b10eed6 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    b8ebfe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2aa8c3b View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. Configuration menu
    Copy the full SHA
    97723eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fb5203 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62a88f9 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    1363777 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ff51eb View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    eefc517 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. [fix][broker] Delete unused param (apache#20866)

    Co-authored-by: 张浩 <zhanghao60@100.me>
    Co-authored-by: tison <wander4096@gmail.com>
    3 people authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    1b7084b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5b0f17 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    66271e3 View commit details
    Browse the repository at this point in the history
  2. [improve] [proxy] Not close the socket if lookup failed caused by too…

    … many requests (apache#21216)
    
    Motivation: The Pulsar client will close the socket if it receives a `ServiceNotReady` error when doing a lookup. The Broker will respond to the client with a `TooManyRequests` error if there are too many lookup requests in progress, but the Pulsar Proxy responds to the client with a `ServiceNotReady` error in the same scenario.
    
    Modifications: Make Pulsar Proxy respond to the client with a `TooManyRequests` error if there are too many lookup requests in progress.
    poorbarcode authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    d6c3fa4 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. [improve] [client] Merge lookup requests for the same topic (apache#2…

    …1232)
    
    Motivation: Multiple consumers and producers can be maintained by the same Pulsar Client. In some cases, multiple consumers or producers might attempt to connect to the same topic. To optimize the process, it is recommended to perform the topic lookup only once for each topic.
    
    Modifications:
    - Merge lookup requests for the same topic.
    - Merge get partitioned metadata request for the same partitioned topic.
    poorbarcode authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    be4ab66 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. Configuration menu
    Copy the full SHA
    be4bcac View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Configuration menu
    Copy the full SHA
    c632431 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a27e7b View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    5c9b72a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    944c9a0 View commit details
    Browse the repository at this point in the history
  3. [improve][io] Use SinkContext.fatal in elastic search connector (ap…

    …ache#21204)
    
    ### Motivation
    
    We have introduced the `SinkContext.fatal` method in apache#21143
    This PR use this fatal method to handle the elastic sink connector exception correctly.
    
    ### Modifications
    
    - Use `SinkContext.fatal` to throw connector exception
    - Add state to the ElasticSearchClient
    RobertIndie authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    dcf1ea1 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. [improve][pip] PIP-286: Make the TopicCompactionService to support fi…

    …nd entry based on publishTime or index (apache#20867)
    coderzc authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    48d5b9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afc9244 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Configuration menu
    Copy the full SHA
    7a3f304 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b32b17 View commit details
    Browse the repository at this point in the history
  3. [improve] [broker] Not close the socket if lookup failed caused by bu…

    …ndle unloading or metadata ex (apache#21211)
    
    ### Motivation
    
    **Background**: The Pulsar client will close the socket if it receives a ServiceNotReady error when doing a lookup. 
    Closing the socket causes the other consumer or producer to reconnect and does not make the lookup more efficient.
    
    There are two cases that should be improved:
    - If the broker gets a metadata read/write error, the broker responds with a `ServiceNotReady` error, but it should respond with a `MetadataError`
    - If the topic is unloading, the broker responds with a `ServiceNotReady` error.
    
    ### Modifications
    - Respond to the client with a `MetadataError` if the broker gets a metadata read/write error.
    - Respond to the client with a `MetadataError` if the topic is unloading
    poorbarcode authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    09a1720 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. [improve] [auto-recovery] Migrate the replication testing from BookKe…

    …eper to Pulsar. (apache#21188)
    
    ### Motivation
    
    There is no testing for AutoRecovery replication in Pulsar's current test suite, and we need to cover it. So migrate the replication testing from BookKeeper to Pulsar.
    horizonzy authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    9061d8b View commit details
    Browse the repository at this point in the history
  2. [fix] [client] fix reader.hasMessageAvailable return false when incom…

    …ing queue is not empty (apache#21259)
    
    ### Motivation
    
    Reproduce steps:
    - Create a reader.
    - Reader pulls messages into `incoming queue`, do not call `reader.readNext` now.
    - Trim ledger task will delete the ledgers, then there is no in the topic.
    - Now, you can get messages if you call `reader.readNext`, but the method `reader.hasMessageAvailable` return `false`
    
    Note: the similar issue of `MultiTopicsConsumerImpl` has been fixed by apache#13332, current PR only trying to fix the issue of `ConsumerImpl`.
    
    ### Modifications
    
    Make `reader.hasMessageAvailable` return `true` when `incoming queue` is not empty.
    poorbarcode authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    6d82b09 View commit details
    Browse the repository at this point in the history
  3. [improve] [broker] Print warn log if ssl handshake error & print ledg…

    …er id when switch ledger (apache#21201)
    
    ### Modifications
    - Print a warning log if the SSL handshake error 
    - Print ledger ID when switching ledger
    poorbarcode authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    8485d68 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. Configuration menu
    Copy the full SHA
    1bf7371 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    682eb36 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    6bdcfeb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07f4eb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    643428b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    70d086f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbb1577 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9ebaf5 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Configuration menu
    Copy the full SHA
    f85e0dc View commit details
    Browse the repository at this point in the history
  2. [fix] [ml] Reader can set read-pos to a deleted ledger (apache#21248)

    ### Motivation
    
    After trimming ledgers, the variable `lastConfirmedEntry` of the managed ledger might rely on a deleted ledger(the latest ledger which contains data).
    
    There is a bug that makes pulsar allow users to set the start read position to an unexisting ledger or a deleted ledger when creating a subscription. This makes the `backlog` and `markDeletedPosition` wrong. 
    
    ### Modifications
    
    Fix the bug.
    poorbarcode authored Oct 8, 2023
    Configuration menu
    Copy the full SHA
    4ee5cd7 View commit details
    Browse the repository at this point in the history
  3. [fix] [metadata] Fix zookeeper related flacky test (apache#21310)

    Fix zookeeper related flacky test
    horizonzy authored Oct 8, 2023
    Configuration menu
    Copy the full SHA
    9ab7417 View commit details
    Browse the repository at this point in the history
  4. [refactor][broker] PIP-301 Part-1: Add BundleDataResources (apache#21119

    )
    
    ### Motivation
    
    See pip: apache#21129
    
    ### Modifications
    
    Add  `BundleDataResources`
    AnonHxy authored Oct 8, 2023
    Configuration menu
    Copy the full SHA
    bbdc173 View commit details
    Browse the repository at this point in the history
  5. [fix] [ml] fix wrong msg backlog of non-durable cursor after trim led…

    …gers (apache#21250)
    
    ### Background
    - But after trimming ledgers, `ml.lastConfirmedPosition` relies on a deleted ledger when the current ledger of ML is empty. 
    - Cursor prevents setting `markDeletedPosition` to a value larger than `ml.lastConfirmedPosition`, but there are no entries to read<sup>[1]</sup>.
    - The code description in the method `advanceCursors` said: do not make `cursor.markDeletedPosition` larger than `ml.lastConfirmedPosition`<sup>[2]</sup>
    
    ### Issue
    If there is no durable cursor, the `markDeletedPosition` might be set to `{current_ledger, -1}`, and `async mark delete` will be prevented by the `rule-2` above. So he `backlog`, `readPosition`, and `markDeletedPosition` of the cursor will be in an incorrect position after trimming the ledger. You can reproduce it by the test `testTrimLedgerIfNoDurableCursor`
    
    ### Modifications
    Do not make `cursor.markDeletedPosition` larger than `ml.lastConfirmedPosition` when advancing non-durable cursors.
    poorbarcode authored Oct 8, 2023
    Configuration menu
    Copy the full SHA
    ca77982 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. [feat][sql] Support UUID for json and avro (apache#21267)

    ### Motivation
    As https://pulsar.apache.org/docs/3.1.x/sql-overview/, Pulsar SQL is based on [Trino (formerly Presto SQL)](https://trino.io/), which supports UUID type. But now, the UUID field in Avro or JSON schema will be interpreted as VARCHAR.
    
    ### Modifications
    
    Support decoding UUID form AVRO or JSON schema.
    liangyepianzhou authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    8c70943 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8438e43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e76a86e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    66c5e1f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c883f50 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    16199d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fcc123d View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. [improve][offload] Avoid implementation details leak on getOffloadPol…

    …icies return value (apache#21336)
    
    Signed-off-by: tison <wander4096@gmail.com>
    tisonkun authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    9449ae4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c35524d View commit details
    Browse the repository at this point in the history
  3. [feat][cli] Add command line option for configuring the memory limit (a…

    …pache#20663)
    
    Signed-off-by: tison <wander4096@gmail.com>
    Co-authored-by: tison <wander4096@gmail.com>
    JooHyukKim and tisonkun authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    903e223 View commit details
    Browse the repository at this point in the history
  4. [fix][sec] Fix MultiRoles token provider when using anonymous clients (

    …apache#21338)
    
    Co-authored-by: Lari Hotari <lhotari@apache.org>
    merlimat and lhotari authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8420420 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. [fix] [bk-client] Fix bk client MinNumRacksPerWriteQuorum and Enforce…

    …MinNumRacksPerWriteQuorum not work problem. (apache#21327)
    horizonzy authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    61a7adf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb9fa63 View commit details
    Browse the repository at this point in the history
  3. [improve][broker] use ConcurrentHashMap in ServiceUnitStateChannel an…

    …d avoid recursive update error (apache#21282)
    heesung-sn authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    aecdb03 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    1a352f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    421c98a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6a56ad View commit details
    Browse the repository at this point in the history
  3. [feat] [broker] PIP-188 Add support to auto create topic resources in…

    …to green cluster before migration [part-3] (apache#21354)
    rdhabalia authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    c8183e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a5f4c1e View commit details
    Browse the repository at this point in the history
  5. [fix][client] fix producer/consumer perform lookup for migrated topic (

    …apache#21356)
    
    Co-authored-by: Rajan Dhabalia <rdhabalia@oath.com>
    rdhabalia and Rajan Dhabalia authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    d09642c View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. [fix][broker]Support to migrate topics from blue to green cluster per…

    … namespace (apache#21367)
    
    Co-authored-by: Vishwadeepsinh Raulji <vishwadeepsinh.raulji@yahooinc.com>
    vraulji567 and Vishwadeepsinh Raulji authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    a10564d View commit details
    Browse the repository at this point in the history
  2. [refactor][cli][PIP-280] Refactor pulsar-client-tools module (apach…

    …e#20764)
    
    Signed-off-by: tison <wander4096@gmail.com>
    Co-authored-by: tison <wander4096@gmail.com>
    JooHyukKim and tisonkun authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    a7acdf6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8147c52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39235ed View commit details
    Browse the repository at this point in the history
  5. [fix][broker] Fix avoid creating new topic after migration is started (

    …apache#21368)
    
    Co-authored-by: Rajan Dhabalia <rdhabalia@oath.com>
    rdhabalia and Rajan Dhabalia authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e088411 View commit details
    Browse the repository at this point in the history
  6. [fix][broker] Fix race condition of replication cluster connection du…

    …ring migration topic (apache#21364)
    
    Co-authored-by: Rajan Dhabalia <rdhabalia@oath.com>
    rdhabalia and Rajan Dhabalia authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    689976b View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. [fix][sec] Bump avro version to 1.11.3 for CVE-2023-39410 (apache#21341)

    Signed-off-by: tison <wander4096@gmail.com>
    tisonkun authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    f5222d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6cd11f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffc083b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24d9b19 View commit details
    Browse the repository at this point in the history