You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expanding it would be necessary right? Forgive me if im mistaken-- currently pgexporter uses vappend (example) and GET related functionality (Link) as of now. I think we would have to extend this for PUT as well if we were to use it in pgmoneta ?
okay i think we are using the curl dependency only as clients for our HTTP requests, this makes thing easier. We can use pgexporter_connect to create a TCP connection socket on port 443 (Since calls to Azure and S3 are HTTPS) and then create SSL context and client and connect it with our socket and then send request and get response via SSL_write/read?
@jesperpedersen should i start by removing the curl dependancy and use home-grown http functionality? I'll test them with the existing HTTP(s) setup we have atleast.
@jesperpedersen why do we not use poll for checking if data is available through network sockets? I encounter seg faults when using pgmoneta_read_block_message
@jesperpedersen found the issue, its more of a uncaught error (azure_storage_account) can not contain spaces, otherwise it translates to the wrong URL for auth, this can be validated to prevent crashes. Will include this.
Activity
bassamadnan commentedon Apr 23, 2025
expanding it would be necessary right? Forgive me if im mistaken-- currently pgexporter uses vappend (example) and GET related functionality (Link) as of now. I think we would have to extend this for PUT as well if we were to use it in pgmoneta ?
jesperpedersen commentedon Apr 23, 2025
@bassamadnan Yes, we should the different HTTP operations
bassamadnan commentedon Apr 24, 2025
okay i think we are using the curl dependency only as clients for our HTTP requests, this makes thing easier. We can use pgexporter_connect to create a TCP connection socket on port 443 (Since calls to Azure and S3 are HTTPS) and then create SSL context and client and connect it with our socket and then send request and get response via SSL_write/read?
jesperpedersen commentedon Apr 25, 2025
@bassamadnan Sounds like the right direction - remember to look at pgexporter's implementation.
We need to find all the requirements and then sync across the 3 project
bassamadnan commentedon Apr 25, 2025
agreed, will be happy to take this up. my pace might be slow due to exams but I welcome any help i can get from anyone!
BTW could I also add a wrapper to our vappend function to create a
_http_add_headerfunction?jesperpedersen commentedon Apr 25, 2025
@bassamadnan Yes, that is ok - e.g. use vappend for add_header.
We probably don't have all the HTTP(S) requirements since the storage modules isn't done yet... but I think we can could come closer
bassamadnan commentedon Apr 25, 2025
@jesperpedersen Oh, i was under the assumption that
src/libpgmoneta/se_azure.candsrc/libpgmoneta/se_s3.chad complete implementation; is it something missing? I did not run it.jesperpedersen commentedon Apr 25, 2025
@bassamadnan #77, #97, #100 and #255
bassamadnan commentedon Apr 28, 2025
@jesperpedersen should i start by removing the curl dependancy and use home-grown http functionality? I'll test them with the existing HTTP(s) setup we have atleast.
jesperpedersen commentedon Apr 28, 2025
@bassamadnan Yes, precisely
bassamadnan commentedon May 1, 2025
@jesperpedersen why do we not use poll for checking if data is available through network sockets? I encounter seg faults when using
pgmoneta_read_block_messagejesperpedersen commentedon May 1, 2025
@bassamadnan That sounds weird - investigate, please
11 remaining items
bassamadnan commentedon May 5, 2025
@jesperpedersen found the issue, its more of a uncaught error (
azure_storage_account) can not contain spaces, otherwise it translates to the wrong URL for auth, this can be validated to prevent crashes. Will include this.[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Remove curl dependency
[pgmoneta#593] Report error on failed disconnect
[pgmoneta#593] Update HTTP Suite