You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/05/25 08:34:44 UTC

[GitHub] [incubator-kvrocks] luger1990 opened a new issue, #607: get an error when i write data to kvrocks

luger1990 opened a new issue, #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   2.0.6
   
   ### Minimal reproduce step
   
   set ER6mKDKmhr 123
   
   ### What did you expect to see?
   
   write data to kvrocks
   
   ### What did you see instead?
   
   (error) ERR Corruption: Corrupted compressed block contents: Snappy
   
   ### Anything Else?
   
   ```
   192.168.100.121:6382> set ER6mKDKmhr 123
   (error) ERR Corruption: Corrupted compressed block contents: Snappy
   192.168.100.121:6382> 
   ```
   
   ```
   web@nct:/data/kvrocks/develop-6382/logs$ cat kvrocks.ERROR
   Log file created at: 2022/05/24 20:32:56
   Running on machine: nct
   Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
   E0524 20:32:56.061395 1220550 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:40572, while encounter error: Connection reset by peer
   E0524 20:37:05.776957 1220550 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:40478, while encounter error: Connection reset by peer
   E0525 13:20:04.996747 1220547 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:35084, while encounter error: Connection reset by peer
   E0525 13:36:15.581916 1220545 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:35730, while encounter error: Connection reset by peer
   E0525 15:14:23.671350 1220544 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:50194, while encounter error: Connection reset by peer
   E0525 15:14:33.936123 1220461 event_listener.cc:113] [event_listener/background_error] reason: compact, status: Corruption: Corrupted compressed block contents: Snappy
   E0525 15:17:35.954617 1220547 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:50446, while encounter error: Connection reset by peer
   ```
   
   ```
   web@nct:/data/kvrocks/develop-6382/logs$ cat kvrocks.WARNING
   Log file created at: 2022/05/24 20:30:37
   Running on machine: nct
   Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
   W0524 20:30:37.310361 1220458 server.cc:1452] [server] Increased maximum number of open files to 18224 (it's originally set to 1024)
   E0524 20:32:56.061395 1220550 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:40572, while encounter error: Connection reset by peer
   E0524 20:37:05.776957 1220550 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:40478, while encounter error: Connection reset by peer
   E0525 13:20:04.996747 1220547 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:35084, while encounter error: Connection reset by peer
   E0525 13:36:15.581916 1220545 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:35730, while encounter error: Connection reset by peer
   E0525 15:14:23.671350 1220544 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:50194, while encounter error: Connection reset by peer
   E0525 15:14:33.936123 1220461 event_listener.cc:113] [event_listener/background_error] reason: compact, status: Corruption: Corrupted compressed block contents: Snappy
   E0525 15:17:35.954617 1220547 redis_connection.cc:107] [connection] Going to remove the client: 192.168.100.121:50446, while encounter error: Connection reset by peer
   ```
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: dev-unsubscribe@kvrocks.apache.org.apache.org

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


[GitHub] [incubator-kvrocks] luger1990 commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
luger1990 commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1137175923

   i think i have installed snappy library 
   ```
   root@nct:~# dpkg -l|grep snappy 
   ii  libsnappy-dev:amd64                   1.1.8-1build1                         amd64        fast compression/decompression library (development files)
   ii  libsnappy1v5:amd64                    1.1.8-1build1                         amd64        fast compression/decompression library
   ```
   
   At the beginning, it was writable. After writing dozens of M data, this error was prompted.


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] luger1990 commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
luger1990 commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1139734323

   > @luger1990 can you add more information about how you install and run the Kvrocks? For the previous steps, I can't reproduce the condition, thanks.
   
   i will test on other machines tomorrow. thanks


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] luger1990 commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
luger1990 commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1140457647

   > @luger1990 cool, thanks.
   
   our new machines will be ready next day i will test when machines is ready


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] luger1990 commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
luger1990 commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1143665702

   > @luger1990 can you add more information about how you install and run the Kvrocks? For the previous steps, I can't reproduce the condition, thanks.
   
   i install snappy to my machine, and it works.
   ```
   apt install libsnappy-dev
   ```
   
   


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] git-hulk commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
git-hulk commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1139763945

   @luger1990 cool, thanks.


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] luger1990 closed issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
luger1990 closed issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy
URL: https://github.com/apache/incubator-kvrocks/issues/607


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] git-hulk commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
git-hulk commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1139485074

   @luger1990 can you add more information about how you install and run the Kvrocks? For the previous steps, I can't reproduce the condition, thanks.


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] git-hulk commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
git-hulk commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1143790606

   Thanks @luger1990, can use the CMake way, it will link the snappy as the static library so that we needn't to install snappy everywhere.


-- 
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: dev-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] git-hulk commented on issue #607: get an error when i write data to kvrocks--ERR Corruption: Corrupted compressed block contents: Snappy

Posted by GitBox <gi...@apache.org>.
git-hulk commented on issue #607:
URL: https://github.com/apache/incubator-kvrocks/issues/607#issuecomment-1137048145

   @luger1990 Thanks for your feedback. Did you install the snappy library on your machine?


-- 
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: dev-unsubscribe@kvrocks.apache.org

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