Skip to content

rust-search: a drive without a change journal gets one - #143

Closed
Tkyoxx wants to merge 1 commit into
Lemxy:mainfrom
Tkyoxx:pr/16-search-journal
Closed

Tkyoxx wants to merge 1 commit into
Lemxy:mainfrom
Tkyoxx:pr/16-search-journal

Conversation

@Tkyoxx

@Tkyoxx Tkyoxx commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

What

A volume nobody had asked for a USN journal (a games or data disk) stopped its service at start (USN journal not available (error 1179) in serve-X.log): nothing on it could be found. The service now makes the journal with Windows' default size (32 MB, grown 8 MB at a time), as Windows' own indexer would, then indexes as usual.

Test

  • cargo test in plugins/rust-search
  • On a drive with no journal (fsutil usn queryjournal F: says so): update rust-search; serve-F.log shows the scan and "serving" (seen: 91,093 entries in 0.85 s), and files on F: show up in the search.

A volume nobody had asked for a USN journal (a games or data disk) made
the service stop at start ("USN journal not available, error 1179"), so
nothing on it could be found. The service makes it with Windows' default
size (32 MB, grown 8 MB at a time), as Windows' own indexer would.
Lemxy added a commit that referenced this pull request Nov 26, 2026
@Lemxy

Lemxy commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you, @Tkyoxx! Your change is in main (squashed, credited in the commit message) and released in v0.5.9.

@Lemxy Lemxy closed this Nov 26, 2026
Lemxy added a commit that referenced this pull request Nov 26, 2026
…#182

Co-authored-by: 2sulraw <2sulraw@gmail.com>
Co-authored-by: Tkyo0x <240800669+Tkyoxx@users.noreply.github.com>
Co-authored-by: GuilhermeLima <guilhermelimamp2020@gmail.com>
RexxColder pushed a commit to RexxColder/WinRust that referenced this pull request Nov 26, 2026
…ream Lemxy#143)

Ported from upstream 9f6bad5: a games or data drive nobody indexed yet
has no USN journal and the search gave up on it. Made with Windows' own
default size (32 MB, 8 MB deltas); nothing else on the drive changes.
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.

2 participants