VERIFIED SOLUTION i
X

Vault error 17850 upon indexing a file

Issue

17850 error indexing a file

Cause

The file appears to have indexed normally, but some errors occurred during the index process:
 
11:57:19 start indexing document file [docdata\20140320202607d1trltrpo_newafp.drd]
         0    10   20   30   40   50   60   70   80   90   100
         |    |    |    |    |    |    |    |    |    |    |
         XXXXXXXXXXXXXXXXX
12:00:52 ERROR 17850: invalid index record id [0x00] detected in record at offset [0x00000005F9ABF000] in index [index\subscriber\address.dri]
         0    10   20   30   40   50   60   70   80   90   100
         |    |    |    |    |    |    |    |    |    |    |
         XXXXXXXXXXXXXXXXXXXXXX
12:01:43 ERROR 17850: invalid index record id [0x00] detected in record at offset [0x00000005F99AE000] in index [index\subscriber\address.dri]
         0    10   20   30   40   50   60   70   80   90   100
         |    |    |    |    |    |    |    |    |    |    |
         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
12:02:53 ERROR 17850: invalid index record id [0x00] detected in record at offset [0x00000005F9A2A000] in index [index\subscriber\address.dri]
         0    10   20   30   40   50   60   70   80   90   100
         |    |    |    |    |    |    |    |    |    |    |
         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
12:04:56 ERROR 17850: invalid index record id [0x00] detected in record at offset [0x000000013C15B000] in index [index\subscriber\invlink.dri]
         0    10   20   30   40   50   60   70   80   90   100
         |    |    |    |    |    |    |    |    |    |    |
         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
12:05:04 flushing index cache
12:05:04 Session stats for 'index\subscriber\account.dri'.
12:05:04 Index Depth:        3 , Records:            0 , File Size:   35950592
12:05:04 Additions:          1 , Duplicates:      4393 , Total Recs:      4394
12:05:04 I/O Reads:       2287 , Writes:          2810 , Read Hit:     94.23 %%
12:05:04 Cache Hits:     37368 , W Hits:             1 , Write Hit:    0.07 %%
12:05:04 Session stats for 'index\subscriber\address.dri'.
12:05:04 Index Depth:        7 , Records:            0 , File Size: 25727811584
12:05:04 Additions:       5414 , Duplicates:     26634 , Total Recs:     32048
12:05:04 I/O Reads:      71540 , Writes:         18121 , Read Hit:     68.25 %%
12:05:04 Cache Hits:    153802 , W Hits:          5503 , Write Hit:    23.30 %%
12:05:04 Session stats for 'index\subscriber\guid.dri'.
12:05:04 Index Depth:        6 , Records:            0 , File Size: 3648196608
12:05:04 Additions:       4404 , Duplicates:      4404 , Total Recs:      8808
12:05:04 I/O Reads:      11367 , Writes:          3010 , Read Hit:     82.83 %%
12:05:04 Cache Hits:     54843 , W Hits:          4536 , Write Hit:    60.12 %%
12:05:04 Session stats for 'index\subscriber\iguid.dri'.
12:05:04 Index Depth:        6 , Records:            0 , File Size: 4114403328
12:05:04 Additions:       4404 , Duplicates:      4404 , Total Recs:      8808
12:05:04 I/O Reads:        207 , Writes:           224 , Read Hit:     99.69 %%
12:05:04 Cache Hits:     66937 , W Hits:          4580 , Write Hit:    95.34 %%
12:05:04 Session stats for 'index\subscriber\invlink.dri'.
12:05:04 Index Depth:        6 , Records:            0 , File Size: 5315231820
12:05:04 Additions:       4404 , Duplicates:      4404 , Total Recs:      8808
12:05:04 I/O Reads:       6978 , Writes:          1888 , Read Hit:     89.46 %%
12:05:04 Cache Hits:     59251 , W Hits:          4532 , Write Hit:    70.60 %%
12:05:04 Session stats for 'index\subscriber\mnemonic.dri'.
12:05:04 Index Depth:        6 , Records:            0 , File Size: 1810071552
12:05:04 Additions:       4404 , Duplicates:      4404 , Total Recs:      8808
12:05:04 I/O Reads:        113 , Writes:           137 , Read Hit:     99.96 %%
12:05:04 Cache Hits:    296856 , W Hits:          4511 , Write Hit:    97.05 %%
12:05:04 Session stats for 'index\subscriber\name.dri'.
12:05:04 Index Depth:        5 , Records:            0 , File Size:  176705536
12:05:04 Additions:         87 , Duplicates:      8891 , Total Recs:      8978
12:05:04 I/O Reads:       9644 , Writes:          2547 , Read Hit:     73.43 %%
12:05:04 Cache Hits:     26657 , W Hits:            88 , Write Hit:    3.38 %%
12:05:04 finished indexing document file [docdata\20140320202607d1trltrpo_newafp.drd], [0] errors
 

Resolution

UPDATED: September 18, 2017


The error is say that the index record read from the specified offset did not have the correct record header byte for an index node.
 
This usually means that these indexes are corrupt:
 
index\subscriber\address.dri
index\subscriber\invlink.dri

Unfortunately, the only way to completely clear this problem is to reindex the whole Vault, or restore a known good backup of the index/ tree and then manually index any files that have been already loaded since that point.

Environment Details

Vault 5.3m5p1779

Downloads

  • No Downloads