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

Make CloudSQLite daemon begin its port search starting at 22003 instead of 22002 #873

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

nick4598
Copy link
Contributor

@nick4598 nick4598 commented Sep 30, 2024

pushing a change to start the port for cloudsqlite daemon at 22003 instead of 22002.
IN an attempt to make our daemon deployment go more smoothly, we are having the daemon auto detect an available port instead of always using 22003. This eliminates errors like 'failed to bind to localhost port 22003' which can sometimes occur during daemon rollout in k8s. This caused the cloudsqlite daemon to start picking 22002 which is a problem because the blockcachevfs (pre 3.3.x of itwinjs) daemon uses 22002. Apparently there are still some backends using the blockcache daemon in prod so...

I tried to change the port to the blockcachevfs daemon but it seems that the private registry has pruned that version of @bentley/imodeljs-native, so we can't redeploy it. This was before we started publishing imodeljs-native to the public npm registry, so that version is gone.

@nick4598 nick4598 changed the title Set Curl buffersize to 10 mb. Make CloudSQLite daemon begin its port search starting at 22003 instead of 22002 Oct 11, 2024
@nick4598 nick4598 enabled auto-merge (squash) October 14, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant