A data write method, applied to an active-active storage system, wherein the storage system comprises a first storage array, a second storage array, and a lock server, wherein the lock server is integrated in the first storage array, and the method comprises: receiving, by the first storage array, a data write request from a host, wherein the data write request carries to-be-written data and a write address, the write address describing a location for storing the to-be-written data; sending, by the lock server, a lock revocation request to the second storage array when it is detected that write lock permission for the write address has already been granted to the second storage array, wherein the lock revocation request is used to withdraw the write lock permission, further carries the to-be-written data and the write address, and is used to instruct the second storage array to store the to-be-written data according to the write address; after receiving the lock revocation request, storing, by the second storage array, the to-be-written data into a second storage of the second storage array according to the write address, and after storing the to-be-written data into the second storage, sending, by the second storage array, a lock revocation success message; receiving, by the lock server, the lock revocation success message, wherein the lock revocation success message is used to describe that the second storage array has finished the use of the write lock permission and is further used to describe that the second storage array has written the to-be-written data; and after receiving the lock revocation success message, writing, by the first storage array, the to-be-written data to a first storage of the first storage array. receiving, by the first storage array, a data write request from a host, wherein the data write request carries to-be-written data and a write address, the write address describing a location for storing the to-be-written data; sending, by the lock server, a lock revocation request to the second storage array when it is detected that write lock permission for the write address has already been granted to the second storage array, wherein the lock revocation request is used to withdraw the write lock permission, further carries the to-be-written data and the write address, and is used to instruct the second storage array to store the to-be-written data according to the write address; after receiving the lock revocation request, storing, by the second storage array, the to-be-written data into a second storage of the second storage array according to the write address, and after storing the to-be-written data into the second storage, sending, by the second storage array, a lock revocation success message; receiving, by the lock server, the lock revocation success message, wherein the lock revocation success message is used to describe that the second storage array has finished the use of the write lock permission and is further used to describe that the second storage array has written the to-be-written data; and after receiving the lock revocation success message, writing, by the first storage array, the to-be-written data to a first storage of the first storage array.