ivakegg commented on issue #5951:
URL: https://github.com/apache/accumulo/issues/5951#issuecomment-3373733992

   Here is a script that will create a table without and versioning iterator 
configured:
   
   `#!/bin/sh
   echo "createtable test"
   echo "config -t test -d table.iterator.majc.vers"
   echo "config -t test -d table.iterator.minc.vers"
   echo "config -t test -d table.iterator.scan.vers"
   for i in {1..100}; do
     for j in {1..10}; do
       declare -i vsize=$RANDOM
       value=`tr -dc 'A-Za-z0-9' < /dev/urandom | head -c $vsize; echo`
       echo "insert row$i cf$i cq$i \"$value\" -ts 100 -t test"
     done
   done
   echo "flush test -w"
   echo "compact test -w"
   `
   
   Pipe the output of this script in to a file and then use the shell to 
"execfile" that file.  The result should be a test table that contains exactly 
1000 entries and indeed if you dump the contents of the rfile you will see all 
of them.  HOWEVER if you do a full scan of the table using the shell or a 
scanner (scan -t test -np) you will find that you do not get all of the keys.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to