Giter VIP home page Giter VIP logo

Comments (2)

miraradeva avatar miraradeva commented on June 30, 2024

Duplicate of #124468.

from cockroach.

jbowens avatar jbowens commented on June 30, 2024

In this instance, failed to find L6 file 000037:

 client_raft_log_queue_test.go:354: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/kv/kvserver_test/pkg/kv/kvserver/client_raft_log_queue_test.go:354
        	Error:      	Received unexpected error:
        	            	failed to create engines: L6: 000037: file 000037 (type 2) unknown to the objstorage provider: file does not exist
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/server.NewServer
        	            	  | 	github.com/cockroachdb/cockroach/pkg/server/server.go:299
        	            	  | github.com/cockroachdb/cockroach/pkg/server.testServerFactoryImpl.New
        	            	  | 	github.com/cockroachdb/cockroach/pkg/server/testserver.go:2455
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils/serverutils.NewServer
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:327
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).RestartServerWithInspect
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/testcluster/testcluster.go:1738
        	            	  | github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).RestartServer
        	            	  | 	github.com/cockroachdb/cockroach/pkg/testutils/testcluster/testcluster.go:1682
        	            	  | github.com/cockroachdb/cockroach/pkg/kv/kvserver_test.TestCrashWhileTruncatingSideloadedEntries
        	            	  | 	github.com/cockroachdb/cockroach/pkg/kv/kvserver_test/pkg/kv/kvserver/client_raft_log_queue_test.go:354
        	            	  | testing.tRunner
        	            	  | 	GOROOT/src/testing/testing.go:1689

Post-restart, the directory looks like:

    client_raft_log_queue_test.go:353: FS after restart:
                  /
             832    000002.log
            1191    000004.sst
            1500    000005.sst
             958    000006.sst
             934    000007.sst
            1035    000008.sst
              52    000010.log
           10815    000011.log
            1197    000012.sst
             849    000015.sst
             882    000016.sst
             882    000017.sst
             882    000018.sst
             882    000019.sst
             882    000020.sst
             882    000021.sst
             882    000022.sst
             882    000023.sst
             882    000024.sst
             882    000025.sst
             882    000026.sst
             882    000027.sst
             882    000028.sst
             882    000029.sst
             882    000030.sst
             882    000031.sst
             882    000032.sst
             882    000033.sst
             882    000034.sst
             882    000035.sst
               0    LOCK
            2234    MANIFEST-000001
            2590    OPTIONS-000003
              16    REMOTE-OBJ-CATALOG-000001
              10    STORAGE_MIN_VERSION
                    auxiliary/
                      sideloading/
                        r0XXXX/
                          r69/
             882            i41.t6
             882            i42.t6
                      sstsnapshot/
               0    marker.format-version.000004.017
               0    marker.manifest.000001.MANIFEST-000001
               0    marker.remote-obj-catalog.000001.REMOTE-OBJ-CATALOG-000001

And 000037 is created by a compaction to L6:

I240530 08:14:08.900099 5336 3@pebble/event.go:816 ⋮ [n2,s2,pebble] 411  [JOB 27] ingested L0:000032 (882B)
I240530 08:14:08.900226 5336 3@pebble/event.go:808 ⋮ [n2,s2,pebble] 412  [JOB 28] ingesting: sstable created 000033
I240530 08:14:08.900321 5336 3@pebble/event.go:816 ⋮ [n2,s2,pebble] 413  [JOB 28] ingested L0:000033 (882B)
I240530 08:14:08.900470 5336 3@pebble/event.go:808 ⋮ [n2,s2,pebble] 414  [JOB 29] ingesting: sstable created 000034
I240530 08:14:08.900599 5336 3@pebble/event.go:816 ⋮ [n2,s2,pebble] 415  [JOB 29] ingested L0:000034 (882B)
I240530 08:14:08.900729 5336 3@pebble/event.go:808 ⋮ [n2,s2,pebble] 416  [JOB 30] ingesting: sstable created 000035
I240530 08:14:08.900820 5336 3@pebble/event.go:816 ⋮ [n2,s2,pebble] 417  [JOB 30] ingested L0:000035 (882B)
I240530 08:14:08.901069 7538 3@pebble/event.go:768 ⋮ [n2,s2,pebble] 418  [JOB 31] compacting(default) L0 [000016] (882B) Score=100.00 + L6 [000008] (1.0KB) Score=0.00; OverlappingRatio: Single 1.17, Multi 0.00
I240530 08:14:08.901170 7539 3@pebble/event.go:768 ⋮ [n2,s2,pebble] 419  [JOB 32] compacting(elision-only) L6 [000004] (1.2KB) Score=0.00 + L6 [] (0B) Score=0.00; OverlappingRatio: Single 0.00, Multi 0.00
I240530 08:14:08.901273 7538 3@pebble/event.go:808 ⋮ [n2,s2,pebble] 420  [JOB 31] compacting: sstable created 000036
I240530 08:14:08.901322 7539 3@pebble/event.go:808 ⋮ [n2,s2,pebble] 421  [JOB 32] compacting: sstable created 000037
I240530 08:14:08.901489 7539 3@pebble/event.go:772 ⋮ [n2,s2,pebble] 422  [JOB 32] compacted(elision-only) L6 [000004] (1.2KB) Score=0.00 + L6 [] (0B) Score=0.00 -> L6 [000037] (972B), in 0.0s (0.0s total), output rate 4.4MB/s
I240530 08:14:08.901590 7526 3@pebble/event.go:768 ⋮ [n2,s2,pebble] 423  [JOB 33] compacting(elision-only) L6 [000005] (1.5KB) Score=0.00 + L6 [] (0B) Score=0.00; OverlappingRatio: Single 0.00, Multi 0.00

from cockroach.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.