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

Save index file in postgres data dir #256

Merged
merged 1 commit into from
Jan 6, 2024
Merged

Conversation

var77
Copy link
Collaborator

@var77 var77 commented Jan 5, 2024

There was an issue in some environments that due to limited size of /tmp directory the process was failing to save large index files there.

I have changed the temporary data directory for lantern indexes to be $pg_data_dir/ldb-index-$relfilenode to avoid that limitation.

@var77 var77 requested a review from Ngalstyan4 January 5, 2024 13:08
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0d14aa4) 81.24% compared to head (50935fc) 81.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #256      +/-   ##
==========================================
+ Coverage   81.24%   81.25%   +0.01%     
==========================================
  Files          17       17              
  Lines        1477     1478       +1     
  Branches      338      338              
==========================================
+ Hits         1200     1201       +1     
  Misses        126      126              
  Partials      151      151              
Files Coverage Δ
src/hnsw/build.c 79.68% <100.00%> (+0.08%) ⬆️

@var77 var77 merged commit 9ac519e into main Jan 6, 2024
32 of 33 checks passed
@var77 var77 deleted the varik/index-file-in-datapath branch January 6, 2024 16:17
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.

None yet

2 participants