GithubHelp home page GithubHelp logo

Comments (3)

fillest avatar fillest commented on May 28, 2024

I just thought - notice how "loaded .. object .." line cuts on ... /dev/disk/by-id/? - is it possible the problem is in some logging buffer overflow on the stack and not disk data corruption? I have quite a long list of disk partitions here and use full serial-number-paths so the whole line gets close-ish to a len of 1000, is there maybe some char[1000] buffer somewhere? Can I somehow check this in gdb for the coredump? (I'm very bad at it)

If I replace disk paths with shorter symbolic names (e.g. /dev/nvme1n1p1) with a different order - will Aerospike understand the reordering? (OS assigns this names randomly on each boot)

from aerospike-server.

kportertx avatar kportertx commented on May 28, 2024

Yes, we do see a problem with the drive ticker in that version - it seems to have been inadvertently resolved in 5.x when the format of that line was changed.

How many devices are configured for this namespace?

The buffer that is being filled in that ticker is 2048 bytes - though logging will truncate that to 1024 bytes. Looking at your device names and assuming your serial numbers are 32 bytes (which is how long mine appear to be), seems that you would need at least 34 devices configured to overflow this buffer. If you do have more that 34 devices configured then I'd recommend upgrading to 5.x+ to quickly mitigate this issue.

Note that 4.9 is mentioned as a pre-req to upgrade to 5.x. Server 4.9 included 5.x compatibility changes for XDR which is EE only but there was also changes to how we replicate records which also required that we go through a certain set of compatible versions. Server 4.6, had the replication compatibility code in place already, so on Community you should be able to upgrade from 4.6 directly to 5.x.

Also, there were some configuration changes related to eviction and expiration mentioned in the 4.9.0.3 release notes which may require that you modify your /etc/aerospike/aerospike.conf.

from aerospike-server.

fillest avatar fillest commented on May 28, 2024

32 devices, yes. My serial numbers are 33 bytes.
We cannot afford to upgrade to a major version yet at this time. Thanks for comment on that though.
I guess the safest/easiest way now will be to re-partition or to try symlinks with shorter names. I guess after I test this I should close the ticket as the problem is fixed in 5.х

from aerospike-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.