TWSD-1459 - VA creation is taking more than expected time approximately 2min 0 sec 60ms

Review Request #1283 — Created Jan. 5, 2026 and submitted

shuinvy
AVX2
rel_avx_2_7_5
TWSD-1459
austin, lucille, stevenku

Add new insert function to speed up VA creation

The Jira ticket is:
https://arraynetworks.atlassian.net/browse/TWSD-1459

Originally, the API will call "get" data to check if there is duplicate data after inserting.
However,
the CLI of VA added is already check the duplicate.
Besides,
it will also check insert_or_update, too.

To speed up the creation and use the API without misunderstanding,
I added a parameter named "is_insert_only" to API interface.
If this parameter exists and the value is true,
then it will call new callback function "insertFunc".

This function is similar to original "insert" function,
just remove the part of "insert_or_update" and "get" data to check duplicate.

lucille
  1. Ship It!
  2. 
      
austin
  1. Ship It!
  2. 
      
shuinvy
Review request changed

Status: Closed (submitted)

stevenku
  1. Ship It!
  2. 
      
Loading...