Fork me on GitHub
Search Results for

    Show / Hide Table of Contents

    verify-server

    Name

    lock-verify-server - Server that must be running when you use VerifyingLockFactory (or stress-test).

    Synopsis

    lucene lock verify-server <IP_HOSTNAME> <MAX_CLIENTS> [?|-h|--help]
    

    Description

    This server simply verifies that at most one process holds the lock at a time.

    Arguments

    IP_HOSTNAME

    Hostname or IP address that verify-server will listen on.

    MAX_CLIENTS

    The maximum number of threads that are observing the lock from within the verify-server process. When using stress-test, each thread will be used by a single connected client and the server won't start running until this number of clients is reached.

    Options

    ?|-h|--help

    Prints out a short help for the command.

    Example

    Run the server on IP 127.0.0.4 with a 10 connected clients:

    lucene lock verify-server 127.0.0.4 10
    
    In this article
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.