Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2054 closed bug (fixed)

Queries by People/Email attribute return no results

Reported by: koki Owned by: axeld
Priority: normal Milestone: R1/alpha1
Component: File Systems/BFS Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Queries by People and/or Email attributes always return no results.

This is 100% reproducible in Haiku hrev24868.

The people and email files used to reproduce this bug were copied from a ZETA volume, and they do have the attributes; indices for People and Email files are also present (according to the output from lsindex), and I have copied the Email and People files that I am running queries against to a Zeta partition and then back to make sure that they are indexed.

syslog will follow, as it seems to have entries that may be relevant.

Attachments (1)

syslog (266.7 KB ) - added by koki 17 years ago.
Syslog (BFS entries found towards the end of the file)

Download all attachments as: .zip

Change History (9)

by koki, 17 years ago

Attachment: syslog added

Syslog (BFS entries found towards the end of the file)

comment:1 by koki, 17 years ago

Summary: Pueries by People/Email attribute return no resultsQueries by People/Email attribute return no results

comment:2 by koki, 17 years ago

One additional observation: running the same query from Zeta against the People and Email files on the Haiku partition does work.

comment:3 by dustin howett, 17 years ago

I can verify that this is an issue even with People files created on Haiku before searching for them.

comment:4 by anevilyak, 17 years ago

This may be related to Ingo's VFS rewrites..those broke lsindex also, but he fixed that.

comment:5 by koki, 17 years ago

The Haiku rev this bug was reproduced with includes Ingo's index dir access fix, so it must be something else.

comment:6 by anevilyak, 17 years ago

When I talked to Ingo about it he said the access path for the index dir is more or less specific to lsindex, that the queries themselves go through a different code path than that. I did ask about that so I assumed it might be related.

comment:7 by axeld, 17 years ago

Milestone: R1R1/alpha1
Resolution: fixed
Status: newclosed

Fixed in hrev24888, I obviously oversimplified comparing string keys earlier...

comment:8 by koki, 17 years ago

Thanks Axel! I'm glad I will be able to demo BFS queries this weekend at the LugRadio Live event. ;)

Note: See TracTickets for help on using tickets.