1. 24 10月, 2019 7 次提交
  2. 23 10月, 2019 12 次提交
  3. 22 10月, 2019 2 次提交
  4. 21 10月, 2019 1 次提交
  5. 17 10月, 2019 1 次提交
  6. 16 10月, 2019 1 次提交
  7. 15 10月, 2019 1 次提交
  8. 11 10月, 2019 2 次提交
  9. 10 10月, 2019 8 次提交
    • L
      Not allow use acknowledgeCumulative on Key_shared subscription. (#5339) · daa546d9
      lipenghui 提交于
      * Not allow use acknowledgeCumulative on Key_shared subscription.
      
      * fix comments
      
      * C++ Client add acknowledgeCumulative not allowed check.
      daa546d9
    • A
      [Doc] Add *Kinesis source connector guide* (#5211) · 5c4c7b72
      Anonymitaet 提交于
      * Add *Kinesis source connector guide*
      
      * update
      
      * Update
      5c4c7b72
    • I
      [TIEREDSTORAGE] Don't require both region and endpoint to be specified (#5355) · 3e70d365
      Ivan Kelly 提交于
      There's a bug in how user metadata is attached to a block that if the
      user doesn't specify both the region and the endpoint, offloading will
      throw an exception, as you can't add a null value to an immutable
      map.
      
      This change elides null to the empty string in these cases, so that
      offloading can continue.
      3e70d365
    • M
      Fix bad_weak_ptr error when closing producer (#5315) · dbd48ab1
      Masahiro Sakamoto 提交于
      Master Issue: #5234
      
      ### Motivation
      
      The other day, I fixed a memory leak caused by not being executed the destructor of C++ producer in #5246. However, when running a producer application written in Go in an environment with the modified C++ client library installed, the program occasionally crashes due to a "bad_weak_ptr" error.
      
      ```
      2019/10/01 16:34:30.210 c_client.go:68: [info] INFO  | ProducerImpl:481 | [persistent://massakam/global/test/t1, dc1-904-1012912] Closing producer for topic persistent://massakam/global/test/t1
      2019/10/01 16:34:30.211 c_client.go:68: [info] INFO  | ProducerImpl:463 | Producer - [persistent://massakam/global/test/t1, dc1-904-1012912] , [batchMessageContainer = { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://massakam/global/test/t1] [producerName_ = dc1-904-1012912] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 1] [averageBatchSize = 1]}]
      2019/10/01 16:34:30.211 c_client.go:68: [info] INFO  | BatchMessageContainer:171 | [numberOfBatchesSent = 1] [averageBatchSize = 1]
      terminate called after throwing an instance of 'std::bad_weak_ptr'
        what():  2019/10/01 16:34:30.211 c_client.go:68: [info] INFO  | ProducerImpl:463 | Producer - [persistent://massakam/global/test/t1, dc1-904-1012911] , [batchMessageContainer = { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://massakam/global/test/t1] [producerName_ = dc1-904-1012911] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 1] [averageBatchSize = 1]}]
      bad_weak_ptr
      2019/10/01 16:34:30.211 c_client.go:68: [info] INFO  | BatchMessageContainer:171 | [numberOfBatchesSent = 1] [averageBatchSize = 1]
      2019/10/01 16:34:30.211 c_client.go:68: [info] INFO  | ProducerImpl:463 | Producer - [persistent://massakam/global/test/t1, dc1-904-1012910] , [batchMessageContainer = { BatchContainer [size = 0] [batchSizeInBytes_ = 0] [maxAllowedMessageBatchSizeInBytes_ = 131072] [maxAllowedNumMessagesInBatch_ = 1000] [topicName = persistent://massakam/global/test/t1] [producerName_ = dc1-904-1012910] [batchSizeInBytes_ = 0] [numberOfBatchesSent = 1] [averageBatchSize = 1]}]
      SIGABRT: abort
      PC=0x7fc78d39d2c7 m=0 sigcode=18446744073709551610
      ```
      
      As a result of the investigation, I found that the destructor was called before the process of closing `ProducerImpl` was completed, and the object was destroyed.
      
      ### Modifications
      
      To keep the `ProducerImpl` object alive, get its own shared pointer at the beginning of `ProducerImpl::closeAsync()`. And the pointer must be passed to `ProducerImpl::handleClose()`. Otherwise, the object will be destroyed before `handleClose()` is called.
      
      So far, this issue has not been reproduced in `ConsumerImpl`, but I fixed it in the same way as `ProducerImpl`.
      dbd48ab1
    • A
      e8adb0aa
    • [Docs] Add putstate, set-replicator-dispatch-rate and... · 0d0af45e
      冉小龙 提交于
      [Docs] Add putstate, set-replicator-dispatch-rate and get-replicator-dispatch-rate cli docs for pulsar admin (#5338)
      Signed-off-by: Nxiaolong.ran <ranxiaolong716@gmail.com>
      
      ### Motivation
      
      In [pulsar-admin](https://pulsar.apache.org/docs/en/pulsar-admin), we have not listed the document information related to the `putstate`, `set-replicator-dispatch-rate` and `get-replicator-dispatch-rate`command.
      
      ### Modifications
      
      *Describe the modifications you've done.*
      
      Add `putstate` command for **pulsar-admin functions**.
      Add `set-replicator-dispatch-rate` command for **pulsar-admin namespaces**.
      Add `get-replicator-dispatch-rate` command for **pulsar-admin namespaces**.
      0d0af45e
    • A
      [Doc] Add *HDFS2 sink connector guide* (#5226) · 16114704
      Anonymitaet 提交于
      * Add *HDFS2 sink connector guide*
      
      * Update
      
      * Update
      16114704
    • H
      Use Buffered channels to avoid blocking on callback (#5336) · 5df64881
      hrsakai 提交于
      5df64881
  10. 09 10月, 2019 3 次提交
  11. 08 10月, 2019 2 次提交