Skip to content

Conversation

@yogesh-aggarwal
Copy link
Contributor

@yogesh-aggarwal yogesh-aggarwal commented Mar 22, 2025

Fixes #20

This pull request includes a change to the initializeDataDirectory method in the Codebase class to ensure the data directory name is always generated using uuid.

  • ingestion/src/process/prepare/codebase.ts: Modified the initializeDataDirectory method to always use uuid for generating _dataDirName and uncommented the mkdirSync call to ensure the data directory is created.

@yogesh-aggarwal yogesh-aggarwal marked this pull request as ready for review March 22, 2025 07:18
@yogesh-aggarwal
Copy link
Contributor Author

yogesh-aggarwal commented Mar 22, 2025

Hey @preeesha I have made the necessary changes to fix this issue. Kindly review this once and let me know if you need any sort of insight or clarification.

…ization logic and ensure proper directory creation
@preeesha
Copy link
Collaborator

Looks good to me! Merging it now. 🚀

@preeesha preeesha merged commit 5a1f346 into RocketChat:main Mar 22, 2025
1 check passed
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.

fix: data directory for storing individual nodes is not getting created on the first run

2 participants