You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/17 19:33:49 UTC

[GitHub] [pulsar] flowchartsman opened a new issue, #18973: [Bug] pulsar-admin functions update does not update the function binary from a local file

flowchartsman opened a new issue, #18973:
URL: https://github.com/apache/pulsar/issues/18973

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   Similar to #18966  and #18972, pulsar-admin seems unable to correctly update a running function from a local file, despite seeming to succeed.  In fact, it seems as if it is impossible to update pulsar functions binaries in any way whatsoever.
   
   ```
   $ go build -o funcbin
   $ sha256sum funcbin
   bfb2284411e0bdb893a91d93addb88b9e61c4b3d04f17dae94b57db6a1e1dc2d  funcbin
   $ pulsar-admin functions download --fqfn public/default/running_function --destination-file `pwd`/current_func
   Downloaded successfully
   $ sha256sum current_func
   074f137112ff7d7050c6a10cabcb94276f3066b87ca55ebc7e6699e7e92ad02b  current_func
   $ pulsar-admin functions update --go `pwd`/funcbin --fqfn public/default/running_function
   Updated  successfully
   $pulsar-admin functions download --fqfn public/default/running_function --destination-file `pwd`/updated_func
   Downloaded successfully
   sha256sum updated_func
   074f137112ff7d7050c6a10cabcb94276f3066b87ca55ebc7e6699e7e92ad02b  updated_func
   ```
   
   
   ### Minimal reproduce step
   
   (see above)
   
   ### What did you expect to see?
   
   Function is actually updated.
   
   ### What did you see instead?
   
   Update appears to succeed. Nothing is actually done.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #18973: [Bug] pulsar-admin functions update does not update the function binary from a local file

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18973:
URL: https://github.com/apache/pulsar/issues/18973#issuecomment-1500759701

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #18973: [Bug] pulsar-admin functions update does not update the function binary from a local file

Posted by github-actions.
github-actions[bot] commented on issue #18973:
URL: https://github.com/apache/pulsar/issues/18973#issuecomment-1399147105

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #18973: [Bug] pulsar-admin functions update does not update the function binary from a local file

Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #18973:
URL: https://github.com/apache/pulsar/issues/18973#issuecomment-1360833900

   cc @dlg99 since you recently touched function utilities. Do you have some insights here?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] flowchartsman commented on issue #18973: [Bug] pulsar-admin functions update does not update the function binary from a local file

Posted by "flowchartsman (via GitHub)" <gi...@apache.org>.
flowchartsman commented on issue #18973:
URL: https://github.com/apache/pulsar/issues/18973#issuecomment-1458304726

   This bug, along with #18966 and #18972  is particularly concerning, since it appears that **there is no way to update Go pulsar functions once they are running** without deleting them and re-creating them. Ideally, they could be updated using the package manager, as the docs suggest, but even this would be a reasonable fallback. Hopefully it can get addressed soon, since it fails silently, meaning there are likely users out there who assume their functions are being updated, and they are not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org