code: def task_5(data_size, host):
      """
      task_5_:
          before upgrade: create collection and insert data without flush
          after upgrade: get collection, create index, load with multi replicas, search, insert data with flush, load with multi replicas and search
      """
      prefix = "task_5_"
      connections.connect(host=host, port=19530, timeout=60)
      get_collections(prefix)
      create_collections_and_insert_data(
          prefix, flush=False, count=data_size
      )
  
file_path: milvus/tests/python_client/deploy/scripts/action_before_upgrade.py
imports: from pymilvus import connections
  import sys
  from common.milvus_sys import MilvusSys
  from utils import *
label_desc: Use image node_id 5 for calling a global function with example usage: task_5(data_size, host) without return types