comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

use hash for nodenum->hostname lookup

Open aakash10292 opened this issue 7 months ago • 1 comments

RDSICDBDBA-1342 describes the issue while migrating from a 16 node cluster to a 24 node cluster. The cause is a overflow resulting in memory corruption.

This patch replaces the static array with a hashmap (dynamically sized). Also adds a test utility bdb trap -> fetch nodenum given a hostname.

Associated plugin branch -> aar_nodenum_lookup

aakash10292 avatar Jun 28 '24 18:06 aakash10292