szetszwo commented on PR #4370:
URL: https://github.com/apache/ozone/pull/4370#issuecomment-1464064944
Without this change, TestMultipartUpload can have "Unexpected block count
changed" and "updateBlockCommitSequenceId from higher value to a lower value"
```
$search.sh ../multipartUpload_out/ testMultipartParallel.\* "Unexpected
block count changed"
root dir : ../multipartUpload_out/
file pattern: testMultipartParallel.*
search regex: Unexpected block count changed
-- ../multipartUpload_out/testMultipartParallel.17.log
------------------------
3469: 2023-03-10 00:27:24,590
[ContainerOp-5064d27f-d9ac-4ab6-af4e-f1be11d1be0b-1] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
2: Unexpected block count changed from 123 to 124
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.18.log
------------------------
3661: 2023-03-10 00:33:18,304
[ContainerOp-1867ee36-ca62-4378-a490-a6f3419292d5-6] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
3: Unexpected block count changed from 82 to 83
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.19.log
------------------------
3452: 2023-03-10 00:39:17,711
[ContainerOp-62e6617d-6792-44e7-a292-b6a96c01b64e-3] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
1: Unexpected block count changed from 148 to 149
3477: 2023-03-10 00:39:17,716
[ContainerOp-62e6617d-6792-44e7-a292-b6a96c01b64e-1] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
1: Unexpected block count changed from 149 to 150
30451: 2023-03-10 00:41:27,282
[ContainerOp-62e6617d-6792-44e7-a292-b6a96c01b64e-6] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
125: Unexpected block count changed from 28 to 29
34055: 2023-03-10 00:41:41,227
[ContainerOp-0ea95297-ac7b-4b74-9d2f-2d00f92d4bfa-0] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
135: Unexpected block count changed from 45 to 46
4 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.20.log
------------------------
3684: 2023-03-10 00:45:10,749
[ContainerOp-ffc30796-c178-4a2e-bc85-86a26695052d-8] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
7: Unexpected block count changed from 8 to 9
3746: 2023-03-10 00:45:12,256
[ContainerOp-ed472d22-d206-4383-b556-4cece7af4793-1] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
8: Unexpected block count changed from 51 to 52
2 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.6.log
-------------------------
3635: 2023-03-09 23:20:19,005
[ContainerOp-3ff18daf-f5be-47e7-ac67-58569d6f6fc5-3] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
2: Unexpected block count changed from 99 to 100
3660: 2023-03-09 23:20:19,014
[ContainerOp-3ff18daf-f5be-47e7-ac67-58569d6f6fc5-7] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
2: Unexpected block count changed from 100 to 101
2 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.9.log
-------------------------
3753: 2023-03-09 23:39:40,482
[ContainerOp-7aca9b62-897b-43e7-8bd8-1ac4f9294dc8-4] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
2: Unexpected block count changed from 44 to 45
14755: 2023-03-09 23:40:38,913
[ContainerOp-0c7e9e30-9170-481a-8c80-369a446ffa4a-1] WARN
impl.BlockManagerImpl (BlockManagerImpl.java:persistPutBlock(200)) - Container
54: Unexpected block count changed from 106 to 108
2 occurrence(s)
===============================================================================
Totally 12 occurrence(s) in 20 file(s).
```
```
$search.sh ../multipartUpload_out/ testMultipartParallel.\*
"updateBlockCommitSequenceId from higher value"
root dir : ../multipartUpload_out/
file pattern: testMultipartParallel.*
search regex: updateBlockCommitSequenceId from higher value
-- ../multipartUpload_out/testMultipartParallel.18.log
------------------------
3662: 2023-03-10 00:33:18,305
[ContainerOp-1867ee36-ca62-4378-a490-a6f3419292d5-6] ERROR
keyvalue.KeyValueContainerData
(KeyValueContainerData.java:updateBlockCommitSequenceId(205)) - Container 3
updateBlockCommitSequenceId from higher value 648 to a lower value 646
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.19.log
------------------------
3453: 2023-03-10 00:39:17,712
[ContainerOp-62e6617d-6792-44e7-a292-b6a96c01b64e-3] ERROR
keyvalue.KeyValueContainerData
(KeyValueContainerData.java:updateBlockCommitSequenceId(205)) - Container 1
updateBlockCommitSequenceId from higher value 1143 to a lower value 1139
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.20.log
------------------------
3685: 2023-03-10 00:45:10,750
[ContainerOp-ffc30796-c178-4a2e-bc85-86a26695052d-8] ERROR
keyvalue.KeyValueContainerData
(KeyValueContainerData.java:updateBlockCommitSequenceId(205)) - Container 7
updateBlockCommitSequenceId from higher value 919 to a lower value 915
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.6.log
-------------------------
3636: 2023-03-09 23:20:19,005
[ContainerOp-3ff18daf-f5be-47e7-ac67-58569d6f6fc5-3] ERROR
keyvalue.KeyValueContainerData
(KeyValueContainerData.java:updateBlockCommitSequenceId(205)) - Container 2
updateBlockCommitSequenceId from higher value 729 to a lower value 726
1 occurrence(s)
-- ../multipartUpload_out/testMultipartParallel.9.log
-------------------------
14756: 2023-03-09 23:40:38,914
[ContainerOp-0c7e9e30-9170-481a-8c80-369a446ffa4a-1] ERROR
keyvalue.KeyValueContainerData
(KeyValueContainerData.java:updateBlockCommitSequenceId(205)) - Container 54
updateBlockCommitSequenceId from higher value 13697 to a lower value 13687
1 occurrence(s)
===============================================================================
Totally 5 occurrence(s) in 20 file(s).
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]