anmolnar commented on PR #7149:
URL: https://github.com/apache/hbase/pull/7149#issuecomment-3246593953

   Tested with the following steps:
   1. Create new table 'andor' and added a row and flushed
   
   ```
   hbase:002:0> create 'andor', 'cf1'
   Created table andor
   Took 0.6623 seconds
   => Hbase::Table - andor
   hbase:005:0> put 'andor', 'r1', 'cf1', 'bela1'
   Took 0.0099 seconds
   hbase:007:0> flush 'andor'
   Took 0.3376 seconds
   
   $ ls -al cf1/
   total 16
   drwxr-xr-x  3 andor  staff    96 Sep  2 14:42 .
   drwxr-xr-x  6 andor  staff   192 Sep  2 14:23 ..
   -rw-r--r--  1 andor  staff  4959 Sep  2 14:23 
56eb73a0801c4c9c91164e74dfaecebe
   ```
   
   2. Added another row and flushed again
   
   ```
   $ ls -al cf1/
   total 32
   drwxr-xr-x  4 andor  staff   128 Sep  2 14:43 .
   drwxr-xr-x  6 andor  staff   192 Sep  2 14:23 ..
   -rw-r--r--  1 andor  staff  4959 Sep  2 14:23 
56eb73a0801c4c9c91164e74dfaecebe
   -rw-r--r--  1 andor  staff  4959 Sep  2 14:42 
ecd71932ecb44b639ede20b42bc7b397
   ``` 
   
   3. Moved away the second HFile (ecd71932ecb44b639ede20b42bc7b397) and done 
**refresh_hfiles** successfully. I only see the first row in the table.
   
   ```
   hbase:024:0> scan 'andor'
   ROW  COLUMN+CELL
    r1 column=cf1:, timestamp=2025-09-02T14:23:00.052, value=bela1
   1 row(s)
   ```
   
   4. Moved back the second HFile (ecd71932ecb44b639ede20b42bc7b397) and done 
**refresh_hfiles** again, but I can't see the second row no matter what I do.
   
   ```
   $ ls -al cf1/
   total 32
   drwxr-xr-x  4 andor  staff   128 Sep  2 14:43 .
   drwxr-xr-x  6 andor  staff   192 Sep  2 14:23 ..
   -rw-r--r--  1 andor  staff  4959 Sep  2 14:23 
56eb73a0801c4c9c91164e74dfaecebe
   -rw-r--r--  1 andor  staff  4959 Sep  2 14:42 
ecd71932ecb44b639ede20b42bc7b397
   
   hbase:025:0> refresh_hfiles
   Took 0.0017 seconds
   => 21
   hbase:026:0> scan 'andor'
   ROW  COLUMN+CELL
    r1 column=cf1:, timestamp=2025-09-02T14:23:00.052, value=bela1
   1 row(s)
   Took 0.0023 seconds
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to