Opened 10 years ago

Closed 10 years ago

#3843 closed bug (fixed)

reindex 2.0.0 does not work as expected

Reported by: mmadia Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev30356 gcc2

reindex from : http://bebits.com/app/2033

open a tracker query of a formula TEST:FOO=42
cd /boot
addattr -t int TEST:FOO 42 var/
mkindex -t int TEST:FOO -d /boot
reindex -rv TEST:FOO var/
expected results:  /boot/var displays in tracker query.
actual results: nothing .

Change History (3)

comment:1 Changed 10 years ago by axeld

Component: File Systems/BFS- General
Status: newassigned

I recently noticed that as well, but not on a machine/place where I had its sources (open source is really a great idea :-)).

comment:2 Changed 10 years ago by bga

I am assuming this works in BeOS/Zeta? Because I really didn't expect it to work as advertized for the simple fact that the query is resolved before the index exists so it won't get updates later on as it thought the index is non-existant. Or am I missing something?

comment:3 Changed 10 years ago by axeld

Resolution: fixed
Status: assignedclosed

Fixed in hrev30511 - I've added an updated version of reindex to the image.

The original reindex does not work on Haiku, as our BFS does not update an index if the attribute did not actually change.

Note: See TracTickets for help on using tickets.