Skip to content

The kind's alias uses hashCode() function that sometimes returns negative...

Sabarish K R E requested to merge sabz/multiKindsItFixAzure into azure/m16-master

Type of change

  • Bug Fix
  • Feature
  • IT Fix

Please provide link to gitlab issue or ADR(Architecture Decision Record)

Does this introduce a change in the core logic?

  • [YES/NO] NO

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

Does this introduce a breaking change?

  • [YES/NO]

What is the current behavior?

What is the new/expected behavior?

Have you added/updated Unit Tests and Integration Tests?

Any other useful information

One of the MultiKindsValidator test cases fails with an error from search service indicating that the length exceeds 3840 bytes. This happens because, in the IT, we assume that the hashCode() function used in finding out the Index Alias, always returns positive numbers. So, this case fails when the hashCode() results in negative numbers as the "-" causes the length of the index to increase beyond 3840.

Merge request reports

Loading